Documentation ¶
Index ¶
Constants ¶
View Source
const PortForwardChannelType = "forwarded-tcpip"
View Source
const (
PortForwardRequestType = "tcpip-forward"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortForwardChannel ¶
type PortForwardChannel struct {
// contains filtered or unexported fields
}
func NewPortForwardChannel ¶
func (*PortForwardChannel) Marshal ¶
func (pfc *PortForwardChannel) Marshal() ([]byte, error)
Marshal returns the byte representation of the PortForwardChannel. This does not include the channelOpen as it is already included in the ssh message.
func (*PortForwardChannel) Port ¶
func (pfc *PortForwardChannel) Port() uint32
func (*PortForwardChannel) Type ¶
func (pfc *PortForwardChannel) Type() string
type PortForwardRequest ¶
type PortForwardRequest struct {
// contains filtered or unexported fields
}
func NewPortForwardRequest ¶
func NewPortForwardRequest(addressToBind string, port uint32) *PortForwardRequest
func (*PortForwardRequest) Marshal ¶
func (pfr *PortForwardRequest) Marshal() ([]byte, error)
func (*PortForwardRequest) Port ¶
func (pfr *PortForwardRequest) Port() uint32
type PortForwardSuccess ¶
type PortForwardSuccess struct {
// contains filtered or unexported fields
}
func NewPortForwardSuccess ¶
func NewPortForwardSuccess(port uint32) *PortForwardSuccess
func (*PortForwardSuccess) Marshal ¶
func (pfs *PortForwardSuccess) Marshal() ([]byte, error)
func (*PortForwardSuccess) Port ¶
func (pfs *PortForwardSuccess) Port() uint32
Click to show internal directories.
Click to hide internal directories.