package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Nov 11, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
BindAddr string `envconfig:"BIND_ADDR"`
ElasticSearchAPIURL string `envconfig:"ELASTIC_SEARCH_URL"`
GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"`
}
Config is the search query handler config
Get configures the application and returns the configuration
String is implemented to prevent sensitive fields being logged.
The config is returned as JSON with sensitive fields omitted.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.