Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfig ¶
func NewConfig(port *string, botToken *string, defaultChatID *string, credsMap *map[string]string, mongoUsername *string, mongoPassword *string, omadaUrl *string, omadaUsername *string, omadaPassword *string) (*config.Configuration, error)
NewConfig creates new config or returns error.
func NewConfigSafe ¶
func NewConfigSafe(port *string, botToken *string, defaultChatID *string, credsMap *map[string]string, mongoUsername *string, mongoPassword *string, omadaUrl *string, omadaUsername *string, omadaPassword *string) *config.Configuration
NewConfigSafe creates new config or calls panic if config can not be created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.