Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfigFile ¶
ReadConfigFile reads the config file and merges with DefaultConfig, taking precedence
Types ¶
type Config ¶
type Config struct { Server struct { Address string Port int } Logging struct { Format string Level string } Metadata map[string]string GoogleCloudDatastore DatastoreConf PostgreSQL SQLConf Crawler struct { LogPattern string } }
Config struct holds the current configuration
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a Config struct with default values
type DatastoreConf ¶
DatastoreConf holds the config values for Datastore
Click to show internal directories.
Click to hide internal directories.