Documentation ¶
Index ¶
Constants ¶
View Source
const ( //NetworkServiceID represents network service id NetworkServiceID = "network" //NetworkServiceTunnelAction represents opening ssh tunnel action NetworkServiceTunnelAction = "tunnel" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkTunnel ¶
type NetworkTunnel struct { Local string `required:"true" description:"local [host]:[port]"` Remote string `required:"true" description:"remote [host]:[port]" ` }
NetworkTunnel represents network link, both local and remove needs to be in [host]:[port] format
type TunnelRequest ¶
type TunnelRequest struct { Target *url.Resource Tunnels []*NetworkTunnel }
TunnelRequest represents SSH tunnel request
type TunnelResponse ¶
type TunnelResponse struct {
Forwards []*NetworkTunnel
}
TunnelResponse represents expanded net tunnel rule
Click to show internal directories.
Click to hide internal directories.