Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ChainQueryDsn string `env:"CHAINQUERY_DSN"`
SyncStateDir string `env:"SYNCSTATEDIR"`
ElasticSearchURL string `env:"ELASTICSEARCHURL"`
InternalAPIDSN string `env:"INTERNALAPIS_DSN"`
APIURL string `env:"API_URL"`
APIToken string `env:"API_TOKEN"`
SlackHookURL string `env:"SLACKHOOKURL"`
SlackChannel string `env:"SLACKCHANNEL"`
SlackID string `env:"SLACK_ID"`
}
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.