app

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLogger

func RegisterLogger(ll *logr.Logger)

RegisterLogger registers global logr implementation

func RunEnv

func RunEnv(cfg *config.Config, out io.Writer) error

RunEnv shows environment variable and actual connfiguration

Types

type App

type App struct {
	WG      *wg.Exec
	WGQuick *wgquick.Exec
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config) *App

func (*App) RunDiag

func (app *App) RunDiag(out io.Writer) error

RunDiag runs application diagnostics

func (*App) RunServer added in v1.3.0

func (app *App) RunServer(ctx context.Context, lis net.Listener) error

RunServer starts application

Jump to

Keyboard shortcuts

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