Documentation ¶ Index ¶ Constants Variables func Execute() func NetworkDown(ctx context.Context, cfg *config.Config) error func NetworkReview(ctx context.Context, cfg *config.Config) error func NetworkSwitch(ctx context.Context, cfg *config.Config, network string) error 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. Source Files ¶ View all Source files down.go review.go root.go switch.go Click to show internal directories. Click to hide internal directories.