Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConsumerKey string `mapstructure:"API_KEY"` ConsumerSecret string `mapstructure:"API_KEY_SECRET"` AccessToken string `mapstructure:"ACCESS_TOKEN"` AccessSecret string `mapstructure:"ACCESS_TOKEN_SECRET"` APIBearerToken string `mapstructure:"BEARER_TOKEN"` DatabaseUser string `mapstructure:"DB_USER"` DatabasePass string `mapstructure:"DB_PASS"` DatabaseHost string `mapstructure:"DB_HOST"` DatabasePort string `mapstructure:"DB_PORT"` DatabaseName string `mapstructure:"DB_NAME"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.