Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interceptor ¶ added in v2.6.8
type Interceptor interface { io.Closer Tag() tunnel.Tag InterceptId() string InterceptInfo() *restapi.InterceptInfo Serve(context.Context, chan<- netip.AddrPort) error SetIntercepting(*manager.InterceptInfo) SetStreamProvider(tunnel.ClientStreamProvider) Target() (string, uint16) }
func NewInterceptor ¶ added in v2.6.8
func NewInterceptor(from agentconfig.PortAndProto, tag tunnel.Tag, targetHost string, targetPort uint16) Interceptor
Click to show internal directories.
Click to hide internal directories.