Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, address string, logEnabled bool, logger Logger, authConfigPath string, buildInfo models.BuildInformation, openvpnLooper VPNLooper, pfGetter PortForwardedGetter, dnsLooper DNSLoop, updaterLooper UpdaterLooper, publicIPLooper PublicIPLoop, storage Storage, ipv6Supported bool) ( server *httpserver.Server, err error, )
Types ¶
type DNSLoop ¶
type DNSLoop interface { ApplyStatus(ctx context.Context, status models.LoopStatus) ( outcome string, err error) GetStatus() (status models.LoopStatus) }
type PortForwardedGetter ¶
type PortForwardedGetter interface {
GetPortsForwarded() (ports []uint16)
}
type PublicIPLoop ¶
type Storage ¶
type Storage interface {
GetFilterChoices(provider string) models.FilterChoices
}
type UpdaterLooper ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.