Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tunat ¶
type Tunat struct {
// contains filtered or unexported fields
}
Tunat main struct
func New ¶
func New(name string, ipv4Prefix, ipv6Prefix netip.Prefix, bufLen int, preCommands []string, postCommands []string, ) (tunat *Tunat, err error)
New new a Tunat
func NewFromUnixSocket ¶
func NewFromUnixSocket(path string, ipv4Prefix, ipv6Prefix netip.Prefix, bufLen int, preCommands []string, postCommands []string, ) (tunat *Tunat, err error)
NewFromUnixSocket new a Tunat from unix
Click to show internal directories.
Click to hide internal directories.