Config

package
v0.0.0-...-a93fc24 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: GPL-2.0 Imports: 3 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientConfig

func GetClientConfig() *ConfigLayouts.Client

GetClientConfig simple getter for the client config, panics if not initialized

func GetEventsPerTimeConfig

func GetEventsPerTimeConfig() *ConfigLayouts.EventsPerTime

GetEventsPerTimeConfig simple getter for the EventsPerTime config, panics if not initialized

func GetMailConfig

func GetMailConfig() *ConfigLayouts.Mail

GetMailConfig simple getter for the mail config, panics if not initialized

func GetServerConfig

func GetServerConfig() *ConfigLayouts.Server

GetServerConfig simple getter for the server config, panics if not initialized

func InitClientConfig

func InitClientConfig(configPath string)

InitClientConfig parses the client config file

func InitEventsPerTimeConfig

func InitEventsPerTimeConfig(configPath string)

InitEventsPerTimeConfig parses the EventsPerTime config file

func InitMailConfig

func InitMailConfig(configPath string)

InitMailConfig parses the mail config file

func InitServerConfig

func InitServerConfig(configPath string)

InitServerConfig parses the server config file

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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