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

package tunnel

import "github.com/labstack/tunnel"

Index

Package Files

tunnel.go

func Create Uses

func Create(c *Config)

type Config Uses

type Config 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
    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 1 packages. Updated 2018-04-23. Refresh now. Tools for package owners.