wireguard

package
v0.0.280-pre-1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C25519pair

func C25519pair() (string, string)

func Create

func Create(apiClient *api.Client, org *api.Organization, regionCode, name string) (*wg.WireGuardState, error)

func PruneInvalidPeers added in v0.0.232

func PruneInvalidPeers(apiClient *api.Client) error

func StateForOrg

func StateForOrg(apiClient *api.Client, org *api.Organization, regionCode string, name string) (*wg.WireGuardState, error)

Types

type WireGuardStates added in v0.0.232

type WireGuardStates map[string]*wg.WireGuardState

func GetWireGuardState added in v0.0.233

func GetWireGuardState() (WireGuardStates, error)

Jump to

Keyboard shortcuts

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