config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Features env.Features          `toml:"features,omitempty"`
	Logging  log.Config            `toml:"log,omitempty"`
	Metrics  env.Metrics           `toml:"metrics,omitempty"`
	Daemon   env.SCIONDClient      `toml:"sciond_connection,omitempty"`
	Gateway  gatewayconfig.Gateway `toml:"gateway,omitempty"`
	Tunnel   gatewayconfig.Tunnel  `toml:"tunnel,omitempty"`
}

func (*Config) InitDefaults

func (cfg *Config) InitDefaults()

func (*Config) Sample

func (cfg *Config) Sample(dst io.Writer, path config.Path, _ config.CtxMap)

func (*Config) Validate

func (cfg *Config) Validate() error

Jump to

Keyboard shortcuts

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