Documentation
¶
Index ¶
- Constants
- func DisableProxi() error
- func EnableProxi() error
- func EnsureStarted(ctx context.Context) (*mq.MQ, <-chan struct{})
- func GetConfig() config.Config
- func GetCreekConn() *creek.Client
- func GetDBConn() *pgxpool.Pool
- func GetDBURL() string
- func GetNATSURL() string
- func GetPgContainer() *dbc.Container
- func LoadSql(files ...string)
- func ResetContainer() error
- func StartNatsContainer(ctx context.Context) error
- func StopNatsContainer(ctx context.Context) 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 GetCreekConn ¶
func GetNATSURL ¶
func GetNATSURL() string
func GetPgContainer ¶
func ResetContainer ¶
func ResetContainer() error
func StartNatsContainer ¶
func StopNatsContainer ¶
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.