Documentation ¶
Index ¶
- Constants
- func DisableProxi() error
- func EnableProxi() error
- func EnsureStarted()
- func GetConfig() config.Config
- func GetCreekConn() *creek.Conn
- func GetDBConn() *pgxpool.Pool
- func GetDBURL() string
- func GetNATSURL() string
- func GetPgContainer() *dbc.Container
- func LoadSql(files ...string)
- func ResetContainer() error
- func TimeoutContext(timeout time.Duration) context.Context
- type LogMsgCounter
Constants ¶
View Source
const DBname = "test_db"
Variables ¶
This section is empty.
Functions ¶
func DisableProxi ¶
func DisableProxi() error
func EnableProxi ¶
func EnableProxi() error
func EnsureStarted ¶
func EnsureStarted()
func GetCreekConn ¶
func GetNATSURL ¶
func GetNATSURL() string
func GetPgContainer ¶
func ResetContainer ¶
func ResetContainer() error
Types ¶
type LogMsgCounter ¶
type LogMsgCounter struct {
// contains filtered or unexported fields
}
func (*LogMsgCounter) Levels ¶
func (l *LogMsgCounter) Levels() []logrus.Level
func (*LogMsgCounter) Msgs ¶
func (l *LogMsgCounter) Msgs() int
func (*LogMsgCounter) Reset ¶
func (l *LogMsgCounter) Reset()
Click to show internal directories.
Click to hide internal directories.