forwarder

package
v2.7.0-test.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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