Documentation ¶
Index ¶
- Variables
- type CLI
- func (c *CLI) CI(context.Context) error
- func (c *CLI) ClientKey(args []string) error
- func (c *CLI) FormatServers(args []string) error
- func (c *CLI) GenKey(args []string) (err error)
- func (c *CLI) HealthCheck(ctx context.Context, reader *reader.Reader, _ Warner) (err error)
- func (c *CLI) OpenvpnConfig(logger OpenvpnConfigLogger, reader *reader.Reader, ipv6Checker IPv6Checker) error
- func (c *CLI) Update(ctx context.Context, args []string, logger UpdaterLogger) error
- type IPFetcher
- type IPv6Checker
- type OpenvpnConfigLogger
- type ParallelResolver
- type Source
- type Unzipper
- type UpdaterLogger
- type Warner
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrProviderUnspecified = errors.New("VPN provider to format was not specified") ErrMultipleProvidersToFormat = errors.New("more than one VPN provider to format were specified") )
View Source
var ( ErrModeUnspecified = errors.New("at least one of -enduser or -maintainer must be specified") ErrNoProviderSpecified = errors.New("no provider was specified") )
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func (*CLI) FormatServers ¶
func (*CLI) HealthCheck ¶
func (*CLI) OpenvpnConfig ¶
func (c *CLI) OpenvpnConfig(logger OpenvpnConfigLogger, reader *reader.Reader, ipv6Checker IPv6Checker, ) error
type IPv6Checker ¶
type OpenvpnConfigLogger ¶
type ParallelResolver ¶
type UpdaterLogger ¶
Click to show internal directories.
Click to hide internal directories.