Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var XTunnelHead = []byte("X-TUNNEL")
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level string)
Types ¶
type Server ¶
type Server struct { Port uint16 // tunnel service port // contains filtered or unexported fields }
func (*Server) ActivateTunnel ¶
type Tunnel ¶
type Tunnel struct { Name string Port uint16 MaxProxyLifetime int // contains filtered or unexported fields }
func (*Tunnel) ListenAndServe ¶
type TunnelInfo ¶ added in v0.4.0
type TunnelSlice ¶ added in v0.4.0
type TunnelSlice []TunnelInfo
func (TunnelSlice) Len ¶ added in v0.4.0
func (p TunnelSlice) Len() int
func (TunnelSlice) Less ¶ added in v0.4.0
func (p TunnelSlice) Less(i, j int) bool
func (TunnelSlice) Swap ¶ added in v0.4.0
func (p TunnelSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.