package
0.0.0-20240621090345-e2200ed16973
Repository: https://github.com/glothriel/wormhole.git
Documentation: pkg.go.dev
# Functions
NewAllAcceptWireguardListener creates a new Listener that listens on all interfaces accept wg0.
NewDefaultReloader creates a pre-configured reloader, that is retrying 10 times.
NewNginxExposer creates a new NGINX exposer.
NewOnlyGivenAddressListener creates a new Listener that listens only on given address.
NewPidBasedReloader creates a new PidBasedReloader.
NewRangePortAllocator creates a new port allocator that allocates ports in the given range.
NewRetryingReloader creates a new RetryingReloader.
# Structs
Exposer is an Exposer implementation that uses NGINX as a proxy server.
StreamServer is a struct that holds components of Nginx configuration related to "server" directive.
# Interfaces
Listener is an interface for NGINX listeners.
PortAllocator is responsible for allocating and returning ports.
Reloader is an interface that allows to reload nginx server.