Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseForwardRequest ¶
type CloseForwardRequest struct { NetworkId string `json:"network_id"` Proto string `json:"proto"` ProxyAddr string `json:"addr"` ProxyPort int `json:"port"` }
func NewCloseForwardRequestFromJSON ¶
func NewCloseForwardRequestFromJSON(ctx context.Context, data jsonutils.JSONObject) (*CloseForwardRequest, error)
type CloseForwardResponse ¶
type CloseForwardResponse struct { NetworkId string `json:"network_id"` Proto string `json:"proto"` ProxyAddr string `json:"addr"` ProxyPort int `json:"port"` }
func (*CloseForwardResponse) JSON ¶
func (resp *CloseForwardResponse) JSON() jsonutils.JSONObject
type ListForwardRequest ¶
type ListForwardRequest struct { NetworkId string `json:"network_id"` Proto string `json:"proto"` Addr string `json:"addr"` Port int `json:"port"` }
func NewListForwardRequestFromJSON ¶
func NewListForwardRequestFromJSON(ctx context.Context, data jsonutils.JSONObject) (*ListForwardRequest, error)
type ListForwardResponse ¶
type ListForwardResponse struct {
Forwards []OpenForwardResponse `json:"forwards"`
}
func (*ListForwardResponse) JSON ¶
func (resp *ListForwardResponse) JSON() jsonutils.JSONObject
type OpenForwardRequest ¶
type OpenForwardRequest struct { NetworkId string `json:"network_id"` Proto string `json:"proto"` Addr string `json:"addr"` Port int `json:"port"` }
func NewOpenForwardRequestFromJSON ¶
func NewOpenForwardRequestFromJSON(ctx context.Context, data jsonutils.JSONObject) (*OpenForwardRequest, error)
type OpenForwardResponse ¶
type OpenForwardResponse struct { Proto string `json:"proto"` ProxyAddr string `json:"proxy_addr"` ProxyPort int `json:"proxy_port"` Addr string `json:"addr"` Port int `json:"port"` }
func (*OpenForwardResponse) JSON ¶
func (resp *OpenForwardResponse) JSON() jsonutils.JSONObject
Click to show internal directories.
Click to hide internal directories.