Documentation ¶
Overview ¶
API is the package that takes care of loading the configuratio and setting up the router
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { TmpDir string `yaml:"tmpDir"` UploadsDir string `yaml:"uploadsDir"` FilesDir string `yaml:"filesDir"` PublicDir string `yaml:"publicDir"` TemplatesDir string `yaml:"templatesDir"` FixturesDir string `yaml:"FixturesDir"` }
Config holds port numbers, target directories
func (*Config) DefaultConf ¶
func (c *Config) DefaultConf()
DefaultConf is called if there is an error opening and parsing the config file
Click to show internal directories.
Click to hide internal directories.