Documentation ¶
Overview ¶
Package config contains the configuration of the SCION Daemon.
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"` API api.Config `toml:"api,omitempty"` Tracing env.Tracing `toml:"tracing,omitempty"` TrustDB storage.DBConfig `toml:"trust_db,omitempty"` PathDB storage.DBConfig `toml:"path_db,omitempty"` SD SDConfig `toml:"sd,omitempty"` TrustEngine trustengine.Config `toml:"trustengine,omitempty"` DRKeyLevel2DB storage.DBConfig `toml:"drkey_level2_db,omitempty"` }
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"` // DisableSegVerification indicates that segment verification should be // disabled. DisableSegVerification bool `toml:"disable_seg_verification,omitempty"` // QueryInterval specifies after how much time segments // for a destination should be refetched. QueryInterval util.DurWrap `toml:"query_interval,omitempty"` // HiddenPathGroup is a file that contains the hiddenpath groups. // If HiddenPathGroups begins with http:// or https://, it will be fetched // over the network from the specified URL instead. HiddenPathGroups string `toml:"hidden_path_groups,omitempty"` }
func (*SDConfig) ConfigName ¶
func (*SDConfig) InitDefaults ¶
func (cfg *SDConfig) InitDefaults()
Click to show internal directories.
Click to hide internal directories.