config

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: LGPL-3.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 NodeConfig

type NodeConfig struct {
	*yggcfg.NodeConfig
	TunnelRoutingConfig `json:"TunnelRouting"`
}

func (*NodeConfig) ReadFrom added in v0.5.1

func (cfg *NodeConfig) ReadFrom(r io.Reader) (int64, error)

type TunnelRoutingConfig

type TunnelRoutingConfig struct {
	Enable            bool              `comment:"Enable or disable tunnel routing."`
	IPv6RemoteSubnets map[string]string `` /* 135-byte string literal not displayed */
	IPv4RemoteSubnets map[string]string `` /* 126-byte string literal not displayed */
}

TunnelRoutingConfig contains the crypto-key routing tables for tunneling regular IPv4 or IPv6 subnets across the Yggdrasil network.

Jump to

Keyboard shortcuts

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