config

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 5 Imported by: 1

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

Jump to

Keyboard shortcuts

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