Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APIServerPortRange string `env:"API_SERVER_PORT_RANGE" envDefault:"6060"` IsDebug bool `env:"IS_DEBUG"` SlackHookURL string `env:"SLACKHOOKURL"` SlackChannel string `env:"SLACKCHANNEL"` InternalAPIsToken string `env:"INTERNAL_APIS_TOKEN"` CommentronToken string `env:"COMMENTRON_TOKEN"` BlockchainToken string `env:"BLOCKCHAIN_TOKEN"` }
Config holds the environment configuration used by lighthouse.
func NewWithEnvVars ¶
NewWithEnvVars creates an Config from environment variables
Click to show internal directories.
Click to hide internal directories.