Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtocolHTTPS = "https" ProtocolTCP = "tcp" ProtocolTLS = "tls" StatusReconnecting = "reconnecting" StatusOnline = "online" StatusOffline = "offline" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Daemon ¶
type Daemon struct {
}
func (*Daemon) Start ¶
func (d *Daemon) Start(req *StartRequest, rep *StartReply) error
type StartReply ¶
type StartReply struct {
}
type StartRequest ¶
type StopRequest ¶
type StopRequest struct {
Name string
}
type Tunnel ¶
type Tunnel struct {
Name string `json:"name"`
Protocol Protocol `json:"protocol"`
Prefix string `json:"prefix"`
Domain string `json:"domain"`
Port int `json:"port"`
Hostname string `json:"hostname"`
User string
RemoteHost string
RemotePort int
RemoteURI string
TargetAddress string
TargetHost string
TargetPort int
Status string
CreatedAt time.Time
HideBanner bool
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.