Versions in this module Expand all Collapse all v1 v1.5.5 Jul 13, 2021 Changes in this version + var File_internal_proto_message_proto protoreflect.FileDescriptor + var PublicMessage_MessageType_name = map[int32]string + var PublicMessage_MessageType_value = map[string]int32 + var SessionMessage_MessageType_name = map[int32]string + var SessionMessage_MessageType_value = map[string]int32 + var SessionMode_name = map[int32]string + var SessionMode_value = map[string]int32 + type EncryptedSessionMessage struct + Ciphertext []byte + Nonce []byte + func (*EncryptedSessionMessage) Descriptor() ([]byte, []int) + func (*EncryptedSessionMessage) ProtoMessage() + func (x *EncryptedSessionMessage) GetCiphertext() []byte + func (x *EncryptedSessionMessage) GetNonce() []byte + func (x *EncryptedSessionMessage) ProtoReflect() protoreflect.Message + func (x *EncryptedSessionMessage) Reset() + func (x *EncryptedSessionMessage) String() string + type Message struct + Wrapper isMessage_Wrapper + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (m *Message) GetWrapper() isMessage_Wrapper + func (x *Message) GetEncryptedSessionMessage() *EncryptedSessionMessage + func (x *Message) GetPublicMessage() *PublicMessage + func (x *Message) ProtoReflect() protoreflect.Message + func (x *Message) Reset() + func (x *Message) String() string + type Message_EncryptedSessionMessage struct + EncryptedSessionMessage *EncryptedSessionMessage + type Message_PublicMessage struct + PublicMessage *PublicMessage + type PublicMessage struct + Sender string + SessionCreated bool + SessionError string + SessionHostname string + SessionKeyPart []byte + Type PublicMessage_MessageType + func (*PublicMessage) Descriptor() ([]byte, []int) + func (*PublicMessage) ProtoMessage() + func (x *PublicMessage) GetSender() string + func (x *PublicMessage) GetSessionCreated() bool + func (x *PublicMessage) GetSessionError() string + func (x *PublicMessage) GetSessionHostname() string + func (x *PublicMessage) GetSessionKeyPart() []byte + func (x *PublicMessage) GetType() PublicMessage_MessageType + func (x *PublicMessage) ProtoReflect() protoreflect.Message + func (x *PublicMessage) Reset() + func (x *PublicMessage) String() string + type PublicMessage_MessageType int32 + const PublicMessage_PING_REQUEST + const PublicMessage_PING_RESPONSE + const PublicMessage_READY + const PublicMessage_SESSION_REQUEST + const PublicMessage_SESSION_RESPONSE + func (PublicMessage_MessageType) Descriptor() protoreflect.EnumDescriptor + func (PublicMessage_MessageType) EnumDescriptor() ([]byte, []int) + func (PublicMessage_MessageType) Type() protoreflect.EnumType + func (x PublicMessage_MessageType) Enum() *PublicMessage_MessageType + func (x PublicMessage_MessageType) Number() protoreflect.EnumNumber + func (x PublicMessage_MessageType) String() string + type SessionMessage struct + BootstrapFilename string + BootstrapMode SessionMode + BootstrapMotd string + BootstrapUsername string + ExitError string + ExitNormal bool + FilePayload []byte + PtyDimensions uint64 + PtyPayload []byte + Sender string + Type SessionMessage_MessageType + func (*SessionMessage) Descriptor() ([]byte, []int) + func (*SessionMessage) ProtoMessage() + func (x *SessionMessage) GetBootstrapFilename() string + func (x *SessionMessage) GetBootstrapMode() SessionMode + func (x *SessionMessage) GetBootstrapMotd() string + func (x *SessionMessage) GetBootstrapUsername() string + func (x *SessionMessage) GetExitError() string + func (x *SessionMessage) GetExitNormal() bool + func (x *SessionMessage) GetFilePayload() []byte + func (x *SessionMessage) GetPtyDimensions() uint64 + func (x *SessionMessage) GetPtyPayload() []byte + func (x *SessionMessage) GetSender() string + func (x *SessionMessage) GetType() SessionMessage_MessageType + func (x *SessionMessage) ProtoReflect() protoreflect.Message + func (x *SessionMessage) Reset() + func (x *SessionMessage) String() string + type SessionMessage_MessageType int32 + const SessionMessage_BOOTSTRAP_REQUEST + const SessionMessage_BOOTSTRAP_RESPONSE + const SessionMessage_EXIT + const SessionMessage_FILE_CHUNK + const SessionMessage_FILE_CLOSE + const SessionMessage_HEARTBEAT_REQUEST + const SessionMessage_HEARTBEAT_RESPONSE + const SessionMessage_PTY_INPUT + const SessionMessage_PTY_OUTPUT + const SessionMessage_PTY_WINCH + func (SessionMessage_MessageType) Descriptor() protoreflect.EnumDescriptor + func (SessionMessage_MessageType) EnumDescriptor() ([]byte, []int) + func (SessionMessage_MessageType) Type() protoreflect.EnumType + func (x SessionMessage_MessageType) Enum() *SessionMessage_MessageType + func (x SessionMessage_MessageType) Number() protoreflect.EnumNumber + func (x SessionMessage_MessageType) String() string + type SessionMode int32 + const SessionMode_MODE_FILE_DOWNLOAD + const SessionMode_MODE_FILE_UPLOAD + const SessionMode_MODE_PTY + const SessionMode_MODE_WAITING + func (SessionMode) Descriptor() protoreflect.EnumDescriptor + func (SessionMode) EnumDescriptor() ([]byte, []int) + func (SessionMode) Type() protoreflect.EnumType + func (x SessionMode) Enum() *SessionMode + func (x SessionMode) Number() protoreflect.EnumNumber + func (x SessionMode) String() string