package
Version:
v0.109.1
Opens a new window with list of versions in this module.
Published: Sep 15, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AnalyticsConfig struct {
MetricsURL string `envconfig:"analytics_metrics_url" default:"https://api.wundergraph.com/wundernode/metrics"`
SendDataUsageMetrics bool `envconfig:"analytics_send_data_usage_metrics" default:"false"`
}
type LoadConfig struct {
URL string `envconfig:"load_config_url" default:"https://api.wundergraph.com"`
BearerToken string `envconfig:"load_config_token" required:"false"`
PollingInterval time.Duration `envconfig:"load_config_polling_interval" default:"10s"`
}
type ServerConfig struct {
ListenAddr string `envconfig:"server_listen_addr" default:"localhost:443"`
ProxyProto bool `envconfig:"server_proxy_proto" default:"true"`
ListenTLS bool `envconfig:"listen_tls" default:"true"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.