template

package
v0.0.0-...-eae6339 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpClientWg

func DumpClientWg(host *model.Host, server *model.Server) ([]byte, error)

DumpClientWg dump client wg config with go template

func DumpEmail

func DumpEmail(host *model.Host, qrcodePngName string) ([]byte, error)

DumpEmail dump server wg config with go template

func DumpServerWg

func DumpServerWg(hosts []*model.Host, server *model.Server) ([]byte, error)

DumpServerWg dump server wg config with go template, write it to file and return bytes

func DumpUserEmail

func DumpUserEmail(accountId string, meshId string) ([]byte, error)

DumpEmail invites a user to join the network

func DumpWireguardConfig

func DumpWireguardConfig(host *model.Host, hosts []*model.Host) ([]byte, error)

DumpWireguardConfig using go template

Types

This section is empty.

Jump to

Keyboard shortcuts

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