Documentation ¶
Overview ¶
Package config contains the configuration of sciond.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultQueryInterval = 5 * time.Minute
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { General env.General `toml:"general,omitempty"` Features env.Features `toml:"features,omitempty"` Logging log.Config `toml:"log,omitempty"` Metrics env.Metrics `toml:"metrics,omitempty"` Tracing env.Tracing `toml:"tracing,omitempty"` TrustDB truststorage.TrustDBConf `toml:"trust_db,omitempty"` // PathDB contains the configuration for the PathDB connection. PathDB pathstorage.PathDBConf `toml:"path_db,omitempty"` SD SDConfig `toml:"sd,omitempty"` }
func (*Config) ConfigName ¶
func (*Config) InitDefaults ¶
func (cfg *Config) InitDefaults()
type SDConfig ¶
type SDConfig struct { // Address is the local address to listen on for SCION messages, and to send out messages to // other nodes. Address string `toml:"address,omitempty"` // QueryInterval specifies after how much time segments // for a destination should be refetched. QueryInterval util.DurWrap `toml:"query_interval,omitempty"` }
func (*SDConfig) ConfigName ¶
func (*SDConfig) InitDefaults ¶
func (cfg *SDConfig) InitDefaults()
Click to show internal directories.
Click to hide internal directories.