Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Global struct { Debug bool Port uint16 Domains []string AllowedOrigins []string Directories []string ObfuscateFilenames bool `yaml:"obfuscate filenames,omitempty"` CacheControlLifetime uint32 `yaml:"cache-control lifetime"` Logs struct { Access string Error string } } }
Config represents the YAML config file
func LoadConfig ¶
LoadConfig loads and processes a configuration file
Click to show internal directories.
Click to hide internal directories.