tunnel

package
v0.0.0-...-2195a28 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Config   *config.Config
	Hostname string
}

func (*Server) Run

func (server *Server) Run(address string) <-chan *Session

type Session

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

func NewSession

func NewSession(views chan View, forwards chan forward.Forwarder) *Session

func (*Session) Close

func (session *Session) Close()

func (*Session) Write

func (session *Session) Write(msg []byte) (n int, err error)

type StatusView

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

func NewStatusView

func NewStatusView(raw io.ReadWriter) StatusView

func (StatusView) Write

func (view StatusView) Write(p []byte) (int, error)

type View

type View io.Writer

Jump to

Keyboard shortcuts

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