Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
Types ¶
type Config ¶
type Config struct { Environment string Database struct { Host string Port int User string Password string DBName string } Server struct { Address string Ttl int64 } Scrapper struct { Amazon struct { AssociateTag string `mapstructure:"associate_tag"` AccessKey string `mapstructure:"access_key"` SecretKey string `mapstructure:"secret_key"` } } }
var Conf Config
Click to show internal directories.
Click to hide internal directories.