forwarder

package
v2.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardUDP added in v2.11.0

func ForwardUDP(ctx context.Context, conn *net.UDPConn, targetAddr *net.UDPAddr) error

Types

type Interceptor added in v2.6.8

type Interceptor interface {
	io.Closer
	InterceptId() string
	InterceptInfo() *restapi.InterceptInfo
	Serve(context.Context, chan<- net.Addr) error
	SetIntercepting(*manager.InterceptInfo)
	SetManager(*manager.SessionInfo, manager.ManagerClient, semver.Version)
	Target() (string, uint16)
}

func NewInterceptor added in v2.6.8

func NewInterceptor(addr net.Addr, targetHost string, targetPort uint16) Interceptor

Jump to

Keyboard shortcuts

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