engine

package
v0.0.0-...-3697f30 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ListenOn         []int //// Array of ports to listen on
	TunnelTo         int   //// Port to remotetunnel to and from
	TunnelRemoteAddr string
	TunnelFrom       int

	LocalPortToRemoteAddr map[int]string

	IsLocal bool
}

func (*Config) Expand

func (c *Config) Expand()

type Engine

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

func NewEngine

func NewEngine(bufsize int, queusize int, config *Config) *Engine

func (*Engine) Close

func (p *Engine) Close()

type Packet

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

Jump to

Keyboard shortcuts

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