Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = false
Functions ¶
This section is empty.
Types ¶
type AssignedUrlInfo ¶
type AssignedUrlInfo struct {
Id string `json:"id,omitempty"`
Url string `json:"url,omitempty"`
Port int `json:"port,omitempty"`
MaxConnCount int `json:"max_conn_count,omitempty"`
}
func GetAssignedUrl ¶
func GetAssignedUrl(assignedDomain string) (*AssignedUrlInfo, error)
type Tunnel ¶
type Tunnel struct {
// contains filtered or unexported fields
}
func (*Tunnel) CreateTunnel ¶
func (*Tunnel) StopTunnel ¶
func (self *Tunnel) StopTunnel()
type TunnelCommand ¶
type TunnelCommand int
type TunnelConn ¶
type TunnelConn struct {
// contains filtered or unexported fields
}
func NewTunnelConn ¶
func NewTunnelConn(remoteHost string, remotePort int, localAddress string, localPort int) *TunnelConn
func (*TunnelConn) StopTunnel ¶
func (self *TunnelConn) StopTunnel() error
func (*TunnelConn) Tunnel ¶
func (self *TunnelConn) Tunnel(replyCh chan<- int) error
Click to show internal directories.
Click to hide internal directories.