Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfig ¶
func CreateConfig(ctx context.Context, config *ServerConfig) error
CreateConfig creates a new server config with unique key
Types ¶
type ServerConfig ¶
type ServerConfig struct { Key string `bson:"key"` Value interface{} `bson:"value"` }
ServerConfig stores any server specific configuration in the db
Click to show internal directories.
Click to hide internal directories.