sdconfig

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sdconfig 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 {
	// 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
	// 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 file location  of the path segment database.
	PathDB string
	// contains filtered or unexported fields
}

func (*Config) InitDefaults

func (c *Config) InitDefaults()

func (*Config) QueryInterval

func (c *Config) QueryInterval() time.Duration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL