cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.1.0"

Variables

View Source
var (
	Timeout  = time.Hour
	Timeouts = ""
	Debug    = false

	HostBind   = ""
	HostTarget = ""
)

Functions

func Debugf

func Debugf(s string, args ...interface{})

func Errorf

func Errorf(s string, args ...interface{})

func Infof

func Infof(s string, args ...interface{})

func ParseTimed

func ParseTimed(tms string, defs ...time.Duration) time.Duration

func Run

func Run()

Types

type Proxy

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

func StartProxy

func StartProxy(conn1 net.Conn, conn2 net.Conn) (*Proxy, error)

func (*Proxy) Stop

func (c *Proxy) Stop()

Jump to

Keyboard shortcuts

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