Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Status StatusConfig `yaml:"status"` Nats []NatsConfig `yaml:"nats"` Logging LoggingConfig `yaml:"logging"` Port uint16 `yaml:"port"` Index uint `yaml:"index"` Zone string `yaml:"zone"` GoMaxProcs int `yaml:"go_max_procs,omitempty"` TraceKey string `yaml:"trace_key"` AccessLog string `yaml:"access_log"` DebugAddr string `yaml:"debug_addr"` EnableSSL bool `yaml:"enable_ssl"` SSLPort uint16 `yaml:"ssl_port"` SSLCertPath string `yaml:"ssl_cert_path"` SSLKeyPath string `yaml:"ssl_key_path"` SSLCertificate tls.Certificate SSLSkipValidation bool `yaml:"ssl_skip_validation"` CipherString string `yaml:"cipher_suites"` CipherSuites []uint16 PublishStartMessageIntervalInSeconds int `yaml:"publish_start_message_interval"` PruneStaleDropletsIntervalInSeconds int `yaml:"prune_stale_droplets_interval"` DropletStaleThresholdInSeconds int `yaml:"droplet_stale_threshold"` PublishActiveAppsIntervalInSeconds int `yaml:"publish_active_apps_interval"` StartResponseDelayIntervalInSeconds int `yaml:"start_response_delay_interval"` EndpointTimeoutInSeconds int `yaml:"endpoint_timeout"` RouteServiceTimeoutInSeconds int `yaml:"route_services_timeout"` DrainWaitInSeconds int `yaml:"drain_wait,omitempty"` DrainTimeoutInSeconds int `yaml:"drain_timeout,omitempty"` SecureCookies bool `yaml:"secure_cookies"` OAuth token_fetcher.OAuthConfig `yaml:"oauth"` RoutingApi RoutingApiConfig `yaml:"routing_api"` RouteServiceSecret string `yaml:"route_services_secret"` RouteServiceSecretPrev string `yaml:"route_services_secret_decrypt_only"` // These fields are populated by the `Process` function. PruneStaleDropletsInterval time.Duration `yaml:"-"` DropletStaleThreshold time.Duration `yaml:"-"` PublishActiveAppsInterval time.Duration `yaml:"-"` StartResponseDelayInterval time.Duration `yaml:"-"` EndpointTimeout time.Duration `yaml:"-"` RouteServiceTimeout time.Duration `yaml:"-"` DrainWait time.Duration `yaml:"-"` DrainTimeout time.Duration `yaml:"-"` Ip string `yaml:"-"` RouteServiceEnabled bool `yaml:"-"` TokenFetcherRetryInterval time.Duration `yaml:"-"` ExtraHeadersToLog []string `yaml:"extra_headers_to_log"` TokenFetcherMaxRetries uint32 `yaml:"token_fetcher_max_retries"` TokenFetcherRetryIntervalInSeconds int `yaml:"token_fetcher_retry_interval"` TokenFetcherExpirationBufferTimeInSeconds int64 `yaml:"token_fetcher_expiration_buffer_time"` // contains filtered or unexported fields }
func DefaultConfig ¶
func (*Config) Initialize ¶
func (*Config) NatsServers ¶
func (*Config) RoutingApiEnabled ¶
type LoggingConfig ¶
type NatsConfig ¶
type RoutingApiConfig ¶
type StatusConfig ¶
Click to show internal directories.
Click to hide internal directories.