tunnel

package
v0.0.0-...-a7f6a6d Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	WriteMessageHandler func(msg proxymsg.ProxyMessage) error
	// contains filtered or unexported fields
}

func NewController

func NewController() *Controller

func (*Controller) RecvMessage

func (c *Controller) RecvMessage(msg proxymsg.ProxyMessage) error

type Tunnel

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

func NewTunnel

func NewTunnel(parentCtx context.Context, id uint16, port int, protocol, address string, isRemote bool) *Tunnel

func (*Tunnel) Start

func (t *Tunnel) Start() error

Jump to

Keyboard shortcuts

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