tunnel

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventReconnect
)

Variables

This section is empty.

Functions

func Create

func Create(c *Configuration)

Types

type Configuration

type Configuration struct {
	Protocol              string `json:"protocol"`
	Subdomain             string `json:"subdomain"`
	Domain                string `json:"domain"`
	Port                  int    `json:"port"`
	Host                  string `json:"host"`
	User                  string
	RemoteHost            string
	RemotePort            int
	TargetHost            string
	TargetPort            int
	InBoundConnectionHook func(net.Conn) error
	Channel               chan int
	HideBanner            bool
}

type Error

type Error struct {
	Code    int    `json:"code,omitempty"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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