Documentation
¶
Overview ¶
Package vpnkit allows a running VPNKit service to be reconfigured.
Features ¶
- expose/unexpose TCP and UDP ports
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection represents an open control connection to vpnkit
func NewConnection ¶
func NewConnection(ctx context.Context, path string) (*Connection, error)
NewConnection connects to a vpnkit Unix domain socket on the given path and returns the connection
Click to show internal directories.
Click to hide internal directories.