Documentation ¶ Index ¶ Variables type Config func ParseFlags() Config func (c Config) String() string 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 Source Files ¶ View all Source files vpnhole.go Click to show internal directories. Click to hide internal directories.