tunnel

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnConfig

type ConnConfig struct {
	Name string // must be unique

	LocalID          string
	LocalAddress     []string
	LocalSubnets     []string
	LocalNodeSubnets []string
	LocalCerts       []string
	LocalType        apis.EndpointType

	RemoteID          string
	RemoteAddress     []string
	RemoteSubnets     []string
	RemoteNodeSubnets []string
	RemoteType        apis.EndpointType
}

type Manager

type Manager interface {
	ListConnNames() ([]string, error)
	LoadConn(conn ConnConfig) error
	InitiateConn(name string) error
	UnloadConn(name string) error
	IsActive() (bool, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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