tunnel: github.com/labstack/tunnel Index | Files | Directories

package tunnel

import "github.com/labstack/tunnel"

Index

Package Files

tunnel.go

Constants

const (
    EventReconnect
)

func Create Uses

func Create(c *Configuration)

type Configuration Uses

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 Uses

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

Directories

PathSynopsis
cmd
cmd/tunnel
util

Package tunnel imports 9 packages (graph) and is imported by 2 packages. Updated 2018-06-21. Refresh now. Tools for package owners.