Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultBindAddr = ":8080" DefaultAPIRouterURL = "http://localhost:23200" DefaultFrontendRouterURL = "http://localhost:20000" DefaultDatasetControllerURL = "http://localhost:24000" DefaultTableRendererURL = "http://localhost:23300" DefaultDataAdminURL = "http://localhost:29400/data-admin" DefaultAPIRouterVersion = "v1" )
Default configuration values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
BindAddr string `envconfig:"BIND_ADDR"`
APIRouterURL string `envconfig:"API_ROUTER_URL"`
FrontendRouterURL string `envconfig:"ROUTER_URL"`
DatasetControllerURL string `envconfig:"DATASET_CONTROLLER_URL"`
TableRendererURL string `envconfig:"TABLE_RENDERER_URL"`
DataAdminURL string `envconfig:"DATA_ADMIN_URL"`
GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"`
HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"`
HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"`
}
Config represents the configuration required for florence
type SharedConfig ¶
type SharedConfig struct {
}
SharedConfig represents the configuration made available to the client-side application from the server
Click to show internal directories.
Click to hide internal directories.