tunnel

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listener

func Listener(proto string, address string, tunnel_type string, tunnel_args []string) error

func Register

func Register(name string, t TunnelMaker)

func TunnelsList

func TunnelsList() []string

Types

type BaseTunnel

type BaseTunnel struct {
	In_Conn net.Conn
	Args    map[string]string
}

type Tunnel

type Tunnel interface {
	Setup(tunnel_args []string) error
	ConnectionHandler(in_conn net.Conn)
}

func GetTunnel

func GetTunnel(name string) Tunnel

type TunnelMaker

type TunnelMaker interface {
	New() Tunnel
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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