mars

package
v1.60.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StackListener

type StackListener struct {
	// contains filtered or unexported fields
}

func StartListener

func StartListener(device dev.Device, gateway, portal, broadcast netip.Addr) (*StackListener, error)

func (*StackListener) Close

func (t *StackListener) Close() error

func (*StackListener) TCP

func (t *StackListener) TCP() *nat.TCP

func (*StackListener) UDP

func (t *StackListener) UDP() *nat.UDP

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL