Versions in this module Expand all Collapse all v0 v0.5.0 Jan 7, 2024 Changes in this version + type ChannelID *uint64 + func MakeChannelID(n uint64) ChannelID + type ConnectionID string + type DocField struct + Comment string + DataType string + Embedded *DocStruct + Name string + type DocStruct struct + Description string + Fields []DocField + Name string + type DocType struct + Description string + type Documentation struct + Message DocStruct + Payloads map[DocType]*DocStruct + func DocumentMessages() Documentation + type ExtendedMessage struct + ChannelID ChannelID + ConnectionID ConnectionID + MessageType Type + Payload Payload + Timestamp int64 + TypeID string + TypeName string + type KeyboardInteractiveAnswer struct + Answer string + Question string + func (k KeyboardInteractiveAnswer) Equals(k2 KeyboardInteractiveAnswer) bool + type KeyboardInteractiveQuestion struct + Echo bool + Question string + func (q KeyboardInteractiveQuestion) Equals(q2 KeyboardInteractiveQuestion) bool + type Message struct + ChannelID ChannelID + ConnectionID ConnectionID + MessageType Type + Payload Payload + Timestamp int64 + func (m Message) Equals(other Message) bool + func (m Message) GetExtendedMessage() ExtendedMessage + type MetadataBinaryValue struct + Sensitive bool + Value []byte + type MetadataValue struct + Sensitive bool + Value string + type Payload interface + Equals func(payload Payload) bool + type PayloadAuthKeyboardInteractiveAnswer struct + Answers []KeyboardInteractiveAnswer + Username string + func (p PayloadAuthKeyboardInteractiveAnswer) Equals(other Payload) bool + type PayloadAuthKeyboardInteractiveBackendError struct + Reason string + Username string + func (p PayloadAuthKeyboardInteractiveBackendError) Equals(other Payload) bool + type PayloadAuthKeyboardInteractiveChallenge struct + Instruction string + Questions []KeyboardInteractiveQuestion + Username string + func (p PayloadAuthKeyboardInteractiveChallenge) Equals(other Payload) bool + type PayloadAuthKeyboardInteractiveFailed struct + Username string + func (p PayloadAuthKeyboardInteractiveFailed) Equals(other Payload) bool + type PayloadAuthPassword struct + Password []byte + Username string + func (p PayloadAuthPassword) Equals(other Payload) bool + type PayloadAuthPasswordBackendError struct + Password []byte + Reason string + Username string + func (p PayloadAuthPasswordBackendError) Equals(other Payload) bool + type PayloadAuthPasswordSuccessful struct + AuthenticatedUsername string + Environment map[string]MetadataValue + Files map[string]MetadataBinaryValue + Metadata map[string]MetadataValue + Password []byte + Username string + func (p PayloadAuthPasswordSuccessful) Equals(other Payload) bool + type PayloadAuthPubKey struct + Key string + Username string + func (p PayloadAuthPubKey) Equals(other Payload) bool + type PayloadAuthPubKeyBackendError struct + Key string + Reason string + Username string + func (p PayloadAuthPubKeyBackendError) Equals(other Payload) bool + type PayloadChannelRequestDecodeFailed struct + Payload []byte + Reason string + RequestID uint64 + RequestType string + func (p PayloadChannelRequestDecodeFailed) Equals(other Payload) bool + type PayloadChannelRequestExec struct + Program string + RequestID uint64 + func (p PayloadChannelRequestExec) Equals(other Payload) bool + type PayloadChannelRequestPty struct + Columns uint32 + Height uint32 + ModeList []byte + RequestID uint64 + Rows uint32 + Term string + Width uint32 + func (p PayloadChannelRequestPty) Equals(other Payload) bool + type PayloadChannelRequestSetEnv struct + Name string + RequestID uint64 + Value string + func (p PayloadChannelRequestSetEnv) Equals(other Payload) bool + type PayloadChannelRequestShell struct + RequestID uint64 + func (p PayloadChannelRequestShell) Equals(other Payload) bool + type PayloadChannelRequestSignal struct + RequestID uint64 + Signal string + func (p PayloadChannelRequestSignal) Equals(other Payload) bool + type PayloadChannelRequestSubsystem struct + RequestID uint64 + Subsystem string + func (p PayloadChannelRequestSubsystem) Equals(other Payload) bool + type PayloadChannelRequestUnknownType struct + Payload []byte + RequestID uint64 + RequestType string + func (p PayloadChannelRequestUnknownType) Equals(other Payload) bool + type PayloadChannelRequestWindow struct + Columns uint32 + Height uint32 + RequestID uint64 + Rows uint32 + Width uint32 + func (p PayloadChannelRequestWindow) Equals(other Payload) bool + type PayloadChannelRequestX11 struct + AuthProtocol string + Cookie string + RequestID uint64 + Screen uint32 + SingleConnection bool + func (p PayloadChannelRequestX11) Equals(other Payload) bool + type PayloadConnect struct + Country string + RemoteAddr string + func (p PayloadConnect) Equals(other Payload) bool + type PayloadExit struct + ExitStatus uint32 + func (p PayloadExit) Equals(other Payload) bool + type PayloadExitSignal struct + CoreDumped bool + ErrorMessage string + LanguageTag string + Signal string + func (p PayloadExitSignal) Equals(other Payload) bool + type PayloadGlobalRequestDecodeFailed struct + Payload []byte + Reason string + RequestID uint64 + RequestType string + func (p PayloadGlobalRequestDecodeFailed) Equals(other Payload) bool + type PayloadGlobalRequestUnknown struct + RequestType string + func (p PayloadGlobalRequestUnknown) Equals(other Payload) bool + type PayloadHandshakeFailed struct + Reason string + func (p PayloadHandshakeFailed) Equals(other Payload) bool + type PayloadHandshakeSuccessful struct + Username string + func (p PayloadHandshakeSuccessful) Equals(other Payload) bool + type PayloadIO struct + Data []byte + Stream Stream + func (p PayloadIO) Equals(other Payload) bool + type PayloadNewChannel struct + ChannelType string + func (p PayloadNewChannel) Equals(other Payload) bool + type PayloadNewChannelFailed struct + ChannelType string + Reason string + func (p PayloadNewChannelFailed) Equals(other Payload) bool + type PayloadNewChannelSuccessful struct + ChannelType string + func (p PayloadNewChannelSuccessful) Equals(other Payload) bool + type PayloadNewForwardChannel struct + HostToConnect string + OriginatorHost string + OriginatorPort uint32 + PortToConnect uint32 + func (p PayloadNewForwardChannel) Equals(other Payload) bool + type PayloadNewReverseForwardChannel struct + ConnectedHost string + ConnectedPort uint32 + OriginatorHost string + OriginatorPort uint32 + func (p PayloadNewReverseForwardChannel) Equals(other Payload) bool + type PayloadNewReverseX11ForwardChannel struct + OriginatorHost string + OriginatorPort uint32 + func (p PayloadNewReverseX11ForwardChannel) Equals(other Payload) bool + type PayloadRequestFailed struct + Reason string + RequestID uint64 + func (p PayloadRequestFailed) Equals(other Payload) bool + type PayloadRequestReverseForward struct + BindHost string + BindPort uint32 + func (p PayloadRequestReverseForward) Equals(other Payload) bool + type PayloadRequestStreamLocal struct + Path string + func (p PayloadRequestStreamLocal) Equals(other Payload) bool + type Stream uint + const StreamStderr + const StreamStdin + const StreamStdout + type Type int32 + const TypeAuthKeyboardInteractiveAnswer + const TypeAuthKeyboardInteractiveBackendError + const TypeAuthKeyboardInteractiveChallenge + const TypeAuthKeyboardInteractiveFailed + const TypeAuthPassword + const TypeAuthPasswordBackendError + const TypeAuthPasswordFailed + const TypeAuthPasswordSuccessful + const TypeAuthPubKey + const TypeAuthPubKeyBackendError + const TypeAuthPubKeyFailed + const TypeAuthPubKeySuccessful + const TypeChannelRequestDecodeFailed + const TypeChannelRequestExec + const TypeChannelRequestPty + const TypeChannelRequestSetEnv + const TypeChannelRequestShell + const TypeChannelRequestSignal + const TypeChannelRequestSubsystem + const TypeChannelRequestUnknownType + const TypeChannelRequestWindow + const TypeChannelRequestX11 + const TypeClose + const TypeConnect + const TypeDisconnect + const TypeExit + const TypeExitSignal + const TypeGlobalRequestDecodeFailed + const TypeGlobalRequestUnknown + const TypeHandshakeFailed + const TypeHandshakeSuccessful + const TypeIO + const TypeNewChannel + const TypeNewChannelFailed + const TypeNewChannelSuccessful + const TypeNewForwardChannel + const TypeNewForwardStreamLocalChannel + const TypeNewReverseForwardChannel + const TypeNewReverseStreamLocalChannel + const TypeNewReverseX11ForwardChannel + const TypeRequestCancelReverseForward + const TypeRequestCancelStreamLocal + const TypeRequestFailed + const TypeRequestReverseForward + const TypeRequestStreamLocal + const TypeWriteClose + func ListTypes() []Type + func (messageType Type) Code() int32 + func (messageType Type) ID() string + func (messageType Type) Name() string + func (messageType Type) Payload() (Payload, error)