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 "status" Nats NatsConfig "nats" Logging LoggingConfig "logging" LoggregatorConfig LoggregatorConfig "loggregatorConfig" Port uint16 "port" Index uint "index" Pidfile string "pidfile" GoMaxProcs int "go_max_procs,omitempty" TraceKey string "trace_key" AccessLog string "access_log" PublishStartMessageIntervalInSeconds int "publish_start_message_interval" PruneStaleDropletsIntervalInSeconds int "prune_stale_droplets_interval" DropletStaleThresholdInSeconds int "droplet_stale_threshold" PublishActiveAppsIntervalInSeconds int "publish_active_apps_interval" StartResponseDelayIntervalInSeconds int "start_response_delay_interval" EndpointTimeoutInSeconds int "endpoint_timeout" // These fields are populated by the `Process` function. PruneStaleDropletsInterval time.Duration DropletStaleThreshold time.Duration PublishActiveAppsInterval time.Duration StartResponseDelayInterval time.Duration EndpointTimeout time.Duration Ip string }
func DefaultConfig ¶
func DefaultConfig() *Config
func InitConfigFromFile ¶
type LoggingConfig ¶
type LoggregatorConfig ¶
type LoggregatorConfig struct {
Url string
}
type NatsConfig ¶
type StatusConfig ¶
Click to show internal directories.
Click to hide internal directories.