tunnel

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: MIT Imports: 11 Imported by: 90

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	LogType LogType
	Payload string
}

func (*Log) Type added in v0.4.0

func (l *Log) Type() string

type LogType

type LogType int
const (
	INFO LogType = iota
	WARNING
	ERROR
	DEBUG
)

type Tunnel

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

func GetInstance

func GetInstance() *Tunnel

func (*Tunnel) Add

func (t *Tunnel) Add(req C.ServerAdapter)

func (*Tunnel) Log added in v0.4.0

func (t *Tunnel) Log() *observable.Observable

func (*Tunnel) Traffic added in v0.4.0

func (t *Tunnel) Traffic() *C.Traffic

func (*Tunnel) UpdateConfig

func (t *Tunnel) UpdateConfig() (err error)

Jump to

Keyboard shortcuts

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