utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) bool

Types

type OrderedMap

type OrderedMap struct {
	// contains filtered or unexported fields
}

func NewOrderedMap

func NewOrderedMap() *OrderedMap

func (*OrderedMap) Get

func (om *OrderedMap) Get(key string) (string, bool)

func (*OrderedMap) Keys

func (om *OrderedMap) Keys() []string

func (*OrderedMap) Set

func (om *OrderedMap) Set(key, value string)

type WireguardKeyPair

type WireguardKeyPair struct {
	PrivateKey *string
	PublicKey  *string
}

func GenerateNewKeyPair

func GenerateNewKeyPair() (*WireguardKeyPair, error)

Jump to

Keyboard shortcuts

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