Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `json:"address" validate:"nonzero"` Port string `json:"port" validate:"nonzero"` Nats []NatsConfig `json:"nats"` Index string `json:"index"` ServerCert string `json:"server_cert" validate:"nonzero"` ServerKey string `json:"server_key" validate:"nonzero"` CACert string `json:"ca_cert" validate:"nonzero"` MetronPort int `json:"metron_port" validate:"min=1"` LogLevelAddress string `json:"log_level_address"` LogLevelPort int `json:"log_level_port"` StalenessThresholdSeconds int `json:"staleness_threshold_seconds" validate:"min=1"` PruningIntervalSeconds int `json:"pruning_interval_seconds" validate:"min=1"` MetricsEmitSeconds int `json:"metrics_emit_seconds" validate:"min=1"` ResumePruningDelaySeconds int `json:"resume_pruning_delay_seconds" validate:"min=0"` WarmDurationSeconds int `json:"warm_duration_seconds" validate:"min=0"` }
func (*Config) NatsServers ¶
Click to show internal directories.
Click to hide internal directories.