Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int64 `default:"8080" split_words:"true"` Debug bool `default:"false"` GraphQLPlayground bool `envconfig:"GRAPHQL_PLAYGROUND" default:"false"` Persistence bool `split_words:"true" default:"false"` PersistenceBoltDBFilePath string `envconfig:"PERSISTENCE_BOLTDB_FILEPATH" default:"ss.db"` PersistenceRedisAddress string `split_words:"true"` PersistenceRedisPassword string `split_words:"true"` GithubToken string `split_words:"true"` GithubRepos []string `split_words:"true"` DummyPeriod string `split_words:"true"` DummyMessage string `split_words:"true"` TwitterConsumerKey string `split_words:"true"` TwitterConsumerSecret string `split_words:"true"` TwitterAccessToken string `split_words:"true"` TwitterAccessSecret string `split_words:"true"` TwitterQuery []string `split_words:"true"` Spokesman bool `split_words:"true" default:"false"` SpokesmanName string `split_words:"true" default:"Spokesman"` SpokesmanUsername string `split_words:"true" default:"spokesman"` SpokesmanEmail string `split_words:"true"` }
Config wraps all the necessary
func LoadDefault ¶
LoadDefault load a minimal default configuration
Click to show internal directories.
Click to hide internal directories.