Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeLogger ¶
func InitializeLogger(cfg *Config)
func PrintConfig ¶
func PrintConfig(cfg *Config)
Types ¶
type Config ¶
type Config struct { File string `arg:"-f,help:Path to our index file."` Port int `arg:"-p,help:Listen port. Enabled on all interfaces."` Debug bool `arg:"-D,help:Enable debug logging"` }
func ParseConfig ¶
func (Config) Description ¶
Click to show internal directories.
Click to hide internal directories.