cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HealthCheckTimeout        = 30 * time.Second
	WireguardHandshakeTimeout = 3 * time.Minute
	NetworkReviewCron         = "*/3 * * * *"
)

Variables

View Source
var (
	InProgress = false
)

Functions

func Execute

func Execute()

func NetworkDown

func NetworkDown(ctx context.Context, cfg *config.Config) error

func NetworkReview

func NetworkReview(ctx context.Context, cfg *config.Config) error

func NetworkSwitch

func NetworkSwitch(ctx context.Context, cfg *config.Config, network string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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