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 Features env.Features Logging env.Logging Metrics env.Metrics Tracing env.Tracing QUIC env.QUIC `toml:"quic"` TrustDB truststorage.TrustDBConf Discovery idiscovery.Config SD SDConfig }
func (*Config) ConfigName ¶
func (*Config) InitDefaults ¶
func (cfg *Config) InitDefaults()
type SDConfig ¶
type SDConfig struct { // Address to listen on via the reliable socket protocol. If empty, // a reliable socket server on the default socket is started. Reliable string // Address to listen on for normal unixgram messages. If empty, a // unixgram server on the default socket is started. Unix string // Socket files (both Reliable and Unix) permissions when created; read from octal (e.g. 0755). SocketFileMode util.FileMode // If set to True, the socket is removed before being created DeleteSocket bool // Public is the local address to listen on for SCION messages (if Bind is // not set), and to send out messages to other nodes. Public *snet.Addr // If set, Bind is the preferred local address to listen on for SCION // messages. Bind *snet.Addr // PathDB contains the configuration for the PathDB connection. PathDB pathstorage.PathDBConf // RevCache contains the configuration for the RevCache connection. RevCache pathstorage.RevCacheConf // QueryInterval specifies after how much time segments // for a destination should be refetched. QueryInterval util.DurWrap }
func (*SDConfig) ConfigName ¶
func (*SDConfig) CreateSocketDirs ¶
func (*SDConfig) InitDefaults ¶
func (cfg *SDConfig) InitDefaults()
Click to show internal directories.
Click to hide internal directories.