tunnel

package module
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 License: MIT Imports: 8 Imported by: 0

README

Tunnel Client

Tunnel lets you expose local servers to internet securely - ngrok alternative, compatible with SSH client.

Docs | Forum

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
	Channel    chan int
	HideBanner bool
}

type Error

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

Directories

Path Synopsis
cmd
tunnel command

Jump to

Keyboard shortcuts

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