config

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TunnelServerConfig

type TunnelServerConfig struct {
	// Enable indicates whether Tunnel is enabled,
	// if set to false (for debugging etc.), skip checking other Networking configs.
	// default true
	Enable bool `json:"enable,omitempty"`
	// Security indicates the set of tunnel server config about security
	Security *security.Security `json:"security,omitempty"`
	// NodeName indicates the node name of tunnel server
	NodeName string `json:"nodeName,omitempty"`
	// ListenPort indicates the listen port of tunnel server
	// default 20004
	ListenPort int `json:"listenPort,omitempty"`
	// AdvertiseAddress sets the IP address for the edgemesh-server to advertise
	AdvertiseAddress []string `json:"advertiseAddress,omitempty"`
	// Transport indicates the transport protocol used by the p2p tunnel
	Transport string `json:"transport,omitempty"`
}

TunnelServerConfig indicates networking module config

func NewTunnelServerConfig added in v1.9.0

func NewTunnelServerConfig() *TunnelServerConfig

Jump to

Keyboard shortcuts

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