config

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

Types

type WireguardServerConfig

type WireguardServerConfig struct {
	Enabled    bool
	Endpoint   string
	VpnAddress string
	PublicKey  string
}

func LoadWireguardServerConfig

func LoadWireguardServerConfig(factory string, api *client.Api) WireguardServerConfig

func (WireguardServerConfig) Marshall

func (w WireguardServerConfig) Marshall() string

func (*WireguardServerConfig) Unmarshall

func (w *WireguardServerConfig) Unmarshall(configVal string)

Jump to

Keyboard shortcuts

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