Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collections ¶
type Collections struct { Stats *mongo.Collection Exceptions *mongo.Collection TrackPool *mongo.Collection }
Collections struct containing MongoDB collections to be used
type Config ¶
type Config struct { Ctx context.Context Col *Collections Trace *loggers LoggerClient *logging.Client LocalEnabled bool }
Config for execution
func InitConfig ¶
func InitConfig(ctx context.Context, cols *Collections) *Config
InitConfig - initialise config struct
Click to show internal directories.
Click to hide internal directories.