config

package
v0.0.0-...-10ca666 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMySQL

func NewMySQL() (*sqlx.DB, sqlmock.Sqlmock)

Init returns connector to Soteria database

Types

type BbbxConfig

type BbbxConfig struct {
	DB   *sqlx.DB
	Mock sqlmock.Sqlmock
}

func GetInstance

func GetInstance() *BbbxConfig

func GetInstanceWithEnv

func GetInstanceWithEnv(env string) *BbbxConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址