Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { MaxDatabaseSize float64 `yaml:"max_database_size"` CustomDatabaseDirectory string `yaml:"custom_database_directory"` TextFormName string `yaml:"text_form_name"` FileFormName string `yaml:"file_form_name"` AdminCookieName string `yaml:"admin_cookie_name"` Port string `yaml:"port"` AdminKey string `yaml:"admin_key"` }
Configuration is a struct of configuration data from config file.
func GetConfig ¶
func GetConfig() *Configuration
GetConfig returns address for internal config file. Before running this remeber to LoadConfig()
Click to show internal directories.
Click to hide internal directories.