Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { NewsServer newsServer DB dbConfig Regex regexSource }
Config is the base config struct for gonab
func NewConfig ¶
func NewConfig() *Config
NewConfig returns a new Config struct with defaults filled out
func (*Config) ReadConfig ¶
ReadConfig Decodes and evaluates a json config file, watching for include cycles.
Click to show internal directories.
Click to hide internal directories.