alter

package
v0.0.0-...-ef12607 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrShutdown = fmt.Errorf("vpnhole was shutdown gracefully")

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr                  string
	SubscriptionsFilename string
	Upstream              string
	Start                 func() error
	Stop                  func() error
}

func ParseFlags

func ParseFlags() Config

parse the flags and return the config struct with the values

func (Config) String

func (c Config) String() string

Jump to

Keyboard shortcuts

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