Documentation ¶
Index ¶
- Variables
- type Append
- func (*Append) Descriptor() ([]byte, []int)deprecated
- func (x *Append) GetDateTime() *DateTime
- func (x *Append) GetFlags() []string
- func (x *Append) GetMailbox() string
- func (x *Append) GetMessage() []byte
- func (m *Append) GetOptionalDateTime() isAppend_OptionalDateTime
- func (*Append) ProtoMessage()
- func (x *Append) ProtoReflect() protoreflect.Message
- func (x *Append) Reset()
- func (x *Append) String() string
- type Append_DateTime
- type Auth
- type BodyPartial
- type BodySection
- func (*BodySection) Descriptor() ([]byte, []int)deprecated
- func (x *BodySection) GetFields() []string
- func (x *BodySection) GetKeyword() SectionKeyword
- func (m *BodySection) GetOptionalKeyword() isBodySection_OptionalKeyword
- func (x *BodySection) GetParts() []int32
- func (*BodySection) ProtoMessage()
- func (x *BodySection) ProtoReflect() protoreflect.Message
- func (x *BodySection) Reset()
- func (x *BodySection) String() string
- type BodySection_Keyword
- type Capability
- type Check
- type Close
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetAppend() *Append
- func (x *Command) GetAuth() *Auth
- func (x *Command) GetCapability() *Capability
- func (x *Command) GetCheck() *Check
- func (x *Command) GetClose() *Close
- func (m *Command) GetCommand() isCommand_Command
- func (x *Command) GetCopy() *Copy
- func (x *Command) GetCreate() *Create
- func (x *Command) GetDel() *Del
- func (x *Command) GetDone() *Done
- func (x *Command) GetExamine() *Examine
- func (x *Command) GetExpunge() *Expunge
- func (x *Command) GetFetch() *Fetch
- func (x *Command) GetIdGet() *IDGet
- func (x *Command) GetIdSet() *IDSet
- func (x *Command) GetIdle() *Idle
- func (x *Command) GetList() *List
- func (x *Command) GetLogin() *Login
- func (x *Command) GetLogout() *Logout
- func (x *Command) GetLsub() *Lsub
- func (x *Command) GetMove() *Move
- func (x *Command) GetNoop() *Noop
- func (x *Command) GetRename() *Rename
- func (x *Command) GetSearch() *Search
- func (x *Command) GetSelect() *Select
- func (x *Command) GetStartTLS() *StartTLS
- func (x *Command) GetStatus() *Status
- func (x *Command) GetStore() *Store
- func (x *Command) GetSub() *Sub
- func (x *Command) GetUid() *UID
- func (x *Command) GetUidExpunge() *UIDExpunge
- func (x *Command) GetUnselect() *Unselect
- func (x *Command) GetUnsub() *Unsub
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type Command_Append
- type Command_Auth
- type Command_Capability
- type Command_Check
- type Command_Close
- type Command_Copy
- type Command_Create
- type Command_Del
- type Command_Done
- type Command_Examine
- type Command_Expunge
- type Command_Fetch
- type Command_IdGet
- type Command_IdSet
- type Command_Idle
- type Command_List
- type Command_Login
- type Command_Logout
- type Command_Lsub
- type Command_Move
- type Command_Noop
- type Command_Rename
- type Command_Search
- type Command_Select
- type Command_StartTLS
- type Command_Status
- type Command_Store
- type Command_Sub
- type Command_Uid
- type Command_UidExpunge
- type Command_Unselect
- type Command_Unsub
- type Copy
- type Create
- type Date
- type DateTime
- func (*DateTime) Descriptor() ([]byte, []int)deprecated
- func (x *DateTime) GetDate() *Date
- func (x *DateTime) GetTime() *Time
- func (x *DateTime) GetZone() *Zone
- func (*DateTime) ProtoMessage()
- func (x *DateTime) ProtoReflect() protoreflect.Message
- func (x *DateTime) Reset()
- func (x *DateTime) String() string
- type Del
- type Done
- type Examine
- type Expunge
- type Fetch
- type FetchAttribute
- func (*FetchAttribute) Descriptor() ([]byte, []int)deprecated
- func (m *FetchAttribute) GetAttribute() isFetchAttribute_Attribute
- func (x *FetchAttribute) GetBody() *FetchBody
- func (x *FetchAttribute) GetKeyword() FetchKeyword
- func (*FetchAttribute) ProtoMessage()
- func (x *FetchAttribute) ProtoReflect() protoreflect.Message
- func (x *FetchAttribute) Reset()
- func (x *FetchAttribute) String() string
- type FetchAttribute_Body
- type FetchAttribute_Keyword
- type FetchBody
- func (*FetchBody) Descriptor() ([]byte, []int)deprecated
- func (m *FetchBody) GetOptionalPartial() isFetchBody_OptionalPartial
- func (m *FetchBody) GetOptionalSection() isFetchBody_OptionalSection
- func (x *FetchBody) GetPartial() *BodyPartial
- func (x *FetchBody) GetPeek() bool
- func (x *FetchBody) GetSection() *BodySection
- func (*FetchBody) ProtoMessage()
- func (x *FetchBody) ProtoReflect() protoreflect.Message
- func (x *FetchBody) Reset()
- func (x *FetchBody) String() string
- type FetchBody_Partial
- type FetchBody_Section
- type FetchKeyword
- func (FetchKeyword) Descriptor() protoreflect.EnumDescriptor
- func (x FetchKeyword) Enum() *FetchKeyword
- func (FetchKeyword) EnumDescriptor() ([]byte, []int)deprecated
- func (x FetchKeyword) Number() protoreflect.EnumNumber
- func (x FetchKeyword) String() string
- func (FetchKeyword) Type() protoreflect.EnumType
- type IDGet
- type IDSet
- type Idle
- type List
- type Login
- type Logout
- type Lsub
- type Move
- type Noop
- type Operation
- type Rename
- type Search
- func (*Search) Descriptor() ([]byte, []int)deprecated
- func (x *Search) GetCharset() string
- func (x *Search) GetKeys() []*SearchKey
- func (m *Search) GetOptionalCharset() isSearch_OptionalCharset
- func (*Search) ProtoMessage()
- func (x *Search) ProtoReflect() protoreflect.Message
- func (x *Search) Reset()
- func (x *Search) String() string
- type SearchKey
- func (*SearchKey) Descriptor() ([]byte, []int)deprecated
- func (x *SearchKey) GetChildren() []*SearchKey
- func (x *SearchKey) GetDate() string
- func (x *SearchKey) GetField() string
- func (x *SearchKey) GetFlag() string
- func (x *SearchKey) GetKeyword() SearchKeyword
- func (x *SearchKey) GetLeftOp() *SearchKey
- func (x *SearchKey) GetRightOp() *SearchKey
- func (x *SearchKey) GetSequenceSet() *SequenceSet
- func (x *SearchKey) GetSize() int32
- func (x *SearchKey) GetText() []byte
- func (*SearchKey) ProtoMessage()
- func (x *SearchKey) ProtoReflect() protoreflect.Message
- func (x *SearchKey) Reset()
- func (x *SearchKey) String() string
- type SearchKeyword
- func (SearchKeyword) Descriptor() protoreflect.EnumDescriptor
- func (x SearchKeyword) Enum() *SearchKeyword
- func (SearchKeyword) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchKeyword) Number() protoreflect.EnumNumber
- func (x SearchKeyword) String() string
- func (SearchKeyword) Type() protoreflect.EnumType
- type Search_Charset
- type SectionKeyword
- func (SectionKeyword) Descriptor() protoreflect.EnumDescriptor
- func (x SectionKeyword) Enum() *SectionKeyword
- func (SectionKeyword) EnumDescriptor() ([]byte, []int)deprecated
- func (x SectionKeyword) Number() protoreflect.EnumNumber
- func (x SectionKeyword) String() string
- func (SectionKeyword) Type() protoreflect.EnumType
- type Select
- type SequenceItem
- func (*SequenceItem) Descriptor() ([]byte, []int)deprecated
- func (m *SequenceItem) GetItem() isSequenceItem_Item
- func (x *SequenceItem) GetNumber() string
- func (x *SequenceItem) GetRange() *SequenceRange
- func (*SequenceItem) ProtoMessage()
- func (x *SequenceItem) ProtoReflect() protoreflect.Message
- func (x *SequenceItem) Reset()
- func (x *SequenceItem) String() string
- type SequenceItem_Number
- type SequenceItem_Range
- type SequenceRange
- func (*SequenceRange) Descriptor() ([]byte, []int)deprecated
- func (x *SequenceRange) GetBegin() string
- func (x *SequenceRange) GetEnd() string
- func (*SequenceRange) ProtoMessage()
- func (x *SequenceRange) ProtoReflect() protoreflect.Message
- func (x *SequenceRange) Reset()
- func (x *SequenceRange) String() string
- type SequenceSet
- type StartTLS
- type Status
- type Store
- func (*Store) Descriptor() ([]byte, []int)deprecated
- func (x *Store) GetAction() *StoreAction
- func (x *Store) GetFlags() []string
- func (x *Store) GetSequenceSet() *SequenceSet
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (x *Store) String() string
- type StoreAction
- func (*StoreAction) Descriptor() ([]byte, []int)deprecated
- func (x *StoreAction) GetOperation() Operation
- func (x *StoreAction) GetSilent() bool
- func (*StoreAction) ProtoMessage()
- func (x *StoreAction) ProtoReflect() protoreflect.Message
- func (x *StoreAction) Reset()
- func (x *StoreAction) String() string
- type Sub
- type Time
- type UID
- func (*UID) Descriptor() ([]byte, []int)deprecated
- func (m *UID) GetCommand() isUID_Command
- func (x *UID) GetCopy() *Copy
- func (x *UID) GetFetch() *Fetch
- func (x *UID) GetMove() *Move
- func (x *UID) GetSearch() *Search
- func (x *UID) GetStore() *Store
- func (*UID) ProtoMessage()
- func (x *UID) ProtoReflect() protoreflect.Message
- func (x *UID) Reset()
- func (x *UID) String() string
- type UIDExpunge
- type UID_Copy
- type UID_Fetch
- type UID_Move
- type UID_Search
- type UID_Store
- type Unselect
- type Unsub
- type Zone
Constants ¶
This section is empty.
Variables ¶
var ( SearchKeyword_name = map[int32]string{ 0: "SearchKWAll", 1: "SearchKWAnswered", 2: "SearchKWBcc", 3: "SearchKWBefore", 4: "SearchKWBody", 5: "SearchKWCc", 6: "SearchKWDeleted", 7: "SearchKWDraft", 8: "SearchKWFlagged", 9: "SearchKWFrom", 10: "SearchKWHeader", 11: "SearchKWKeyword", 12: "SearchKWLarger", 13: "SearchKWNew", 14: "SearchKWNot", 15: "SearchKWOld", 16: "SearchKWOn", 17: "SearchKWOr", 18: "SearchKWRecent", 19: "SearchKWSeen", 20: "SearchKWSentBefore", 21: "SearchKWSentOn", 22: "SearchKWSentSince", 23: "SearchKWSince", 24: "SearchKWSmaller", 25: "SearchKWSubject", 26: "SearchKWText", 27: "SearchKWTo", 28: "SearchKWUID", 29: "SearchKWUnanswered", 30: "SearchKWUndeleted", 31: "SearchKWUndraft", 32: "SearchKWUnflagged", 33: "SearchKWUnkeyword", 34: "SearchKWUnseen", 35: "SearchKWSeqSet", 36: "SearchKWList", } SearchKeyword_value = map[string]int32{ "SearchKWAll": 0, "SearchKWAnswered": 1, "SearchKWBcc": 2, "SearchKWBefore": 3, "SearchKWBody": 4, "SearchKWCc": 5, "SearchKWDeleted": 6, "SearchKWDraft": 7, "SearchKWFlagged": 8, "SearchKWFrom": 9, "SearchKWHeader": 10, "SearchKWKeyword": 11, "SearchKWLarger": 12, "SearchKWNew": 13, "SearchKWNot": 14, "SearchKWOld": 15, "SearchKWOn": 16, "SearchKWOr": 17, "SearchKWRecent": 18, "SearchKWSeen": 19, "SearchKWSentBefore": 20, "SearchKWSentOn": 21, "SearchKWSentSince": 22, "SearchKWSince": 23, "SearchKWSmaller": 24, "SearchKWSubject": 25, "SearchKWText": 26, "SearchKWTo": 27, "SearchKWUID": 28, "SearchKWUnanswered": 29, "SearchKWUndeleted": 30, "SearchKWUndraft": 31, "SearchKWUnflagged": 32, "SearchKWUnkeyword": 33, "SearchKWUnseen": 34, "SearchKWSeqSet": 35, "SearchKWList": 36, } )
Enum value maps for SearchKeyword.
var ( FetchKeyword_name = map[int32]string{ 0: "FetchKWEnvelope", 1: "FetchKWFlags", 2: "FetchKWInternalDate", 3: "FetchKWRFC822", 4: "FetchKWRFC822Header", 5: "FetchKWRFC822Size", 6: "FetchKWRFC822Text", 7: "FetchKWBody", 8: "FetchKWBodyStructure", 9: "FetchKWUID", } FetchKeyword_value = map[string]int32{ "FetchKWEnvelope": 0, "FetchKWFlags": 1, "FetchKWInternalDate": 2, "FetchKWRFC822": 3, "FetchKWRFC822Header": 4, "FetchKWRFC822Size": 5, "FetchKWRFC822Text": 6, "FetchKWBody": 7, "FetchKWBodyStructure": 8, "FetchKWUID": 9, } )
Enum value maps for FetchKeyword.
var ( SectionKeyword_name = map[int32]string{ 0: "Header", 1: "HeaderFields", 2: "HeaderFieldsNot", 3: "Text", 4: "MIME", } SectionKeyword_value = map[string]int32{ "Header": 0, "HeaderFields": 1, "HeaderFieldsNot": 2, "Text": 3, "MIME": 4, } )
Enum value maps for SectionKeyword.
var ( Operation_name = map[int32]string{ 0: "Replace", 1: "Add", 2: "Remove", } Operation_value = map[string]int32{ "Replace": 0, "Add": 1, "Remove": 2, } )
Enum value maps for Operation.
var File_imap_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Append ¶
type Append struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` Flags []string `protobuf:"bytes,2,rep,name=flags,proto3" json:"flags,omitempty"` // Types that are assignable to OptionalDateTime: // *Append_DateTime OptionalDateTime isAppend_OptionalDateTime `protobuf_oneof:"optionalDateTime"` Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
6.3.11. APPEND Command
func (*Append) Descriptor
deprecated
func (*Append) GetDateTime ¶
func (*Append) GetMailbox ¶
func (*Append) GetMessage ¶
func (*Append) GetOptionalDateTime ¶
func (m *Append) GetOptionalDateTime() isAppend_OptionalDateTime
func (*Append) ProtoMessage ¶
func (*Append) ProtoMessage()
func (*Append) ProtoReflect ¶
func (x *Append) ProtoReflect() protoreflect.Message
type Append_DateTime ¶
type Append_DateTime struct {
DateTime *DateTime `protobuf:"bytes,3,opt,name=dateTime,proto3,oneof"`
}
type Auth ¶
type Auth struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Data []string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
6.2.2. AUTHENTICATE Command
func (*Auth) Descriptor
deprecated
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type BodyPartial ¶
type BodyPartial struct { Begin int32 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*BodyPartial) Descriptor
deprecated
func (*BodyPartial) Descriptor() ([]byte, []int)
Deprecated: Use BodyPartial.ProtoReflect.Descriptor instead.
func (*BodyPartial) GetBegin ¶
func (x *BodyPartial) GetBegin() int32
func (*BodyPartial) GetCount ¶
func (x *BodyPartial) GetCount() int32
func (*BodyPartial) ProtoMessage ¶
func (*BodyPartial) ProtoMessage()
func (*BodyPartial) ProtoReflect ¶
func (x *BodyPartial) ProtoReflect() protoreflect.Message
func (*BodyPartial) Reset ¶
func (x *BodyPartial) Reset()
func (*BodyPartial) String ¶
func (x *BodyPartial) String() string
type BodySection ¶
type BodySection struct { Parts []int32 `protobuf:"varint,1,rep,packed,name=parts,proto3" json:"parts,omitempty"` // Types that are assignable to OptionalKeyword: // *BodySection_Keyword OptionalKeyword isBodySection_OptionalKeyword `protobuf_oneof:"optionalKeyword"` Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*BodySection) Descriptor
deprecated
func (*BodySection) Descriptor() ([]byte, []int)
Deprecated: Use BodySection.ProtoReflect.Descriptor instead.
func (*BodySection) GetFields ¶
func (x *BodySection) GetFields() []string
func (*BodySection) GetKeyword ¶
func (x *BodySection) GetKeyword() SectionKeyword
func (*BodySection) GetOptionalKeyword ¶
func (m *BodySection) GetOptionalKeyword() isBodySection_OptionalKeyword
func (*BodySection) GetParts ¶
func (x *BodySection) GetParts() []int32
func (*BodySection) ProtoMessage ¶
func (*BodySection) ProtoMessage()
func (*BodySection) ProtoReflect ¶
func (x *BodySection) ProtoReflect() protoreflect.Message
func (*BodySection) Reset ¶
func (x *BodySection) Reset()
func (*BodySection) String ¶
func (x *BodySection) String() string
type BodySection_Keyword ¶
type BodySection_Keyword struct {
Keyword SectionKeyword `protobuf:"varint,2,opt,name=keyword,proto3,enum=proto.SectionKeyword,oneof"`
}
type Capability ¶
type Capability struct {
// contains filtered or unexported fields
}
6.1.1 CAPABILITY Command
func (*Capability) Descriptor
deprecated
func (*Capability) Descriptor() ([]byte, []int)
Deprecated: Use Capability.ProtoReflect.Descriptor instead.
func (*Capability) ProtoMessage ¶
func (*Capability) ProtoMessage()
func (*Capability) ProtoReflect ¶
func (x *Capability) ProtoReflect() protoreflect.Message
func (*Capability) Reset ¶
func (x *Capability) Reset()
func (*Capability) String ¶
func (x *Capability) String() string
type Check ¶
type Check struct {
// contains filtered or unexported fields
}
6.4.1. CHECK Command
func (*Check) Descriptor
deprecated
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) ProtoReflect ¶
func (x *Check) ProtoReflect() protoreflect.Message
type Close ¶
type Close struct {
// contains filtered or unexported fields
}
6.4.2. CLOSE Command
func (*Close) Descriptor
deprecated
func (*Close) ProtoMessage ¶
func (*Close) ProtoMessage()
func (*Close) ProtoReflect ¶
func (x *Close) ProtoReflect() protoreflect.Message
type Command ¶
type Command struct { // Types that are assignable to Command: // *Command_Capability // *Command_Noop // *Command_Logout // *Command_StartTLS // *Command_Auth // *Command_Login // *Command_Select // *Command_Examine // *Command_Create // *Command_Del // *Command_Rename // *Command_Sub // *Command_Unsub // *Command_List // *Command_Lsub // *Command_Status // *Command_Append // *Command_Check // *Command_Close // *Command_Expunge // *Command_UidExpunge // *Command_Unselect // *Command_Search // *Command_Fetch // *Command_Store // *Command_Copy // *Command_Uid // *Command_Idle // *Command_Done // *Command_Move // *Command_IdSet // *Command_IdGet Command isCommand_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetCapability ¶
func (x *Command) GetCapability() *Capability
func (*Command) GetCommand ¶
func (m *Command) GetCommand() isCommand_Command
func (*Command) GetExamine ¶
func (*Command) GetExpunge ¶
func (*Command) GetStartTLS ¶
func (*Command) GetUidExpunge ¶
func (x *Command) GetUidExpunge() *UIDExpunge
func (*Command) GetUnselect ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type Command_Append ¶
type Command_Append struct {
Append *Append `protobuf:"bytes,18,opt,name=append,proto3,oneof"`
}
type Command_Auth ¶
type Command_Auth struct {
Auth *Auth `protobuf:"bytes,6,opt,name=auth,proto3,oneof"`
}
type Command_Capability ¶
type Command_Capability struct { // 6.1. Client Commands - Any State Capability *Capability `protobuf:"bytes,2,opt,name=capability,proto3,oneof"` }
type Command_Check ¶
type Command_Check struct { // 6.4. Client Commands - Selected State Check *Check `protobuf:"bytes,19,opt,name=check,proto3,oneof"` }
type Command_Close ¶
type Command_Close struct {
Close *Close `protobuf:"bytes,20,opt,name=close,proto3,oneof"`
}
type Command_Copy ¶
type Command_Copy struct {
Copy *Copy `protobuf:"bytes,27,opt,name=copy,proto3,oneof"`
}
type Command_Create ¶
type Command_Create struct {
Create *Create `protobuf:"bytes,10,opt,name=create,proto3,oneof"`
}
type Command_Del ¶
type Command_Del struct {
Del *Del `protobuf:"bytes,11,opt,name=del,proto3,oneof"`
}
type Command_Done ¶
type Command_Done struct {
Done *Done `protobuf:"bytes,30,opt,name=done,proto3,oneof"`
}
type Command_Examine ¶
type Command_Examine struct {
Examine *Examine `protobuf:"bytes,9,opt,name=examine,proto3,oneof"`
}
type Command_Expunge ¶
type Command_Expunge struct {
Expunge *Expunge `protobuf:"bytes,21,opt,name=expunge,proto3,oneof"`
}
type Command_Fetch ¶
type Command_Fetch struct {
Fetch *Fetch `protobuf:"bytes,25,opt,name=fetch,proto3,oneof"`
}
type Command_IdGet ¶ added in v0.8.0
type Command_IdGet struct {
IdGet *IDGet `protobuf:"bytes,33,opt,name=id_get,json=idGet,proto3,oneof"`
}
type Command_IdSet ¶ added in v0.8.0
type Command_IdSet struct { // RFC2971 IdSet *IDSet `protobuf:"bytes,32,opt,name=id_set,json=idSet,proto3,oneof"` }
type Command_Idle ¶
type Command_Idle struct { // RFC2177 Idle command Idle *Idle `protobuf:"bytes,29,opt,name=idle,proto3,oneof"` }
type Command_List ¶
type Command_List struct {
List *List `protobuf:"bytes,15,opt,name=list,proto3,oneof"`
}
type Command_Login ¶
type Command_Login struct {
Login *Login `protobuf:"bytes,7,opt,name=login,proto3,oneof"`
}
type Command_Logout ¶
type Command_Logout struct {
Logout *Logout `protobuf:"bytes,4,opt,name=logout,proto3,oneof"`
}
type Command_Lsub ¶
type Command_Lsub struct {
Lsub *Lsub `protobuf:"bytes,16,opt,name=lsub,proto3,oneof"`
}
type Command_Move ¶
type Command_Move struct { // RFC6851 Move command Move *Move `protobuf:"bytes,31,opt,name=move,proto3,oneof"` }
type Command_Noop ¶
type Command_Noop struct {
Noop *Noop `protobuf:"bytes,3,opt,name=noop,proto3,oneof"`
}
type Command_Rename ¶
type Command_Rename struct {
Rename *Rename `protobuf:"bytes,12,opt,name=rename,proto3,oneof"`
}
type Command_Search ¶
type Command_Search struct {
Search *Search `protobuf:"bytes,24,opt,name=search,proto3,oneof"`
}
type Command_Select ¶
type Command_Select struct { // 6.3. Client Commands - Authenticated State Select *Select `protobuf:"bytes,8,opt,name=select,proto3,oneof"` }
type Command_StartTLS ¶
type Command_StartTLS struct { // 6.2. Client Commands - Not Authenticated State StartTLS *StartTLS `protobuf:"bytes,5,opt,name=startTLS,proto3,oneof"` }
type Command_Status ¶
type Command_Status struct {
Status *Status `protobuf:"bytes,17,opt,name=status,proto3,oneof"`
}
type Command_Store ¶
type Command_Store struct {
Store *Store `protobuf:"bytes,26,opt,name=store,proto3,oneof"`
}
type Command_Sub ¶
type Command_Sub struct {
Sub *Sub `protobuf:"bytes,13,opt,name=sub,proto3,oneof"`
}
type Command_Uid ¶
type Command_Uid struct {
Uid *UID `protobuf:"bytes,28,opt,name=uid,proto3,oneof"`
}
type Command_UidExpunge ¶
type Command_UidExpunge struct {
UidExpunge *UIDExpunge `protobuf:"bytes,22,opt,name=uidExpunge,proto3,oneof"`
}
type Command_Unselect ¶
type Command_Unselect struct {
Unselect *Unselect `protobuf:"bytes,23,opt,name=unselect,proto3,oneof"`
}
type Command_Unsub ¶
type Command_Unsub struct {
Unsub *Unsub `protobuf:"bytes,14,opt,name=unsub,proto3,oneof"`
}
type Copy ¶
type Copy struct { SequenceSet *SequenceSet `protobuf:"bytes,1,opt,name=sequenceSet,proto3" json:"sequenceSet,omitempty"` Mailbox string `protobuf:"bytes,2,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.4.7. COPY Command
func (*Copy) Descriptor
deprecated
func (*Copy) GetMailbox ¶
func (*Copy) GetSequenceSet ¶
func (x *Copy) GetSequenceSet() *SequenceSet
func (*Copy) ProtoMessage ¶
func (*Copy) ProtoMessage()
func (*Copy) ProtoReflect ¶
func (x *Copy) ProtoReflect() protoreflect.Message
type Create ¶
type Create struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.3. CREATE Command
func (*Create) Descriptor
deprecated
func (*Create) GetMailbox ¶
func (*Create) ProtoMessage ¶
func (*Create) ProtoMessage()
func (*Create) ProtoReflect ¶
func (x *Create) ProtoReflect() protoreflect.Message
type Date ¶
type Date struct { Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
func (*Date) Descriptor
deprecated
func (*Date) ProtoMessage ¶
func (*Date) ProtoMessage()
func (*Date) ProtoReflect ¶
func (x *Date) ProtoReflect() protoreflect.Message
type DateTime ¶
type DateTime struct { Date *Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Time *Time `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` Zone *Zone `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"` // contains filtered or unexported fields }
func (*DateTime) Descriptor
deprecated
func (*DateTime) ProtoMessage ¶
func (*DateTime) ProtoMessage()
func (*DateTime) ProtoReflect ¶
func (x *DateTime) ProtoReflect() protoreflect.Message
type Del ¶
type Del struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.4. DELETE Command
func (*Del) Descriptor
deprecated
func (*Del) GetMailbox ¶
func (*Del) ProtoMessage ¶
func (*Del) ProtoMessage()
func (*Del) ProtoReflect ¶
func (x *Del) ProtoReflect() protoreflect.Message
type Done ¶
type Done struct {
// contains filtered or unexported fields
}
func (*Done) Descriptor
deprecated
func (*Done) ProtoMessage ¶
func (*Done) ProtoMessage()
func (*Done) ProtoReflect ¶
func (x *Done) ProtoReflect() protoreflect.Message
type Examine ¶
type Examine struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.2. EXAMINE Command
func (*Examine) Descriptor
deprecated
func (*Examine) GetMailbox ¶
func (*Examine) ProtoMessage ¶
func (*Examine) ProtoMessage()
func (*Examine) ProtoReflect ¶
func (x *Examine) ProtoReflect() protoreflect.Message
type Expunge ¶
type Expunge struct {
// contains filtered or unexported fields
}
6.4.3. EXPUNGE Command
func (*Expunge) Descriptor
deprecated
func (*Expunge) ProtoMessage ¶
func (*Expunge) ProtoMessage()
func (*Expunge) ProtoReflect ¶
func (x *Expunge) ProtoReflect() protoreflect.Message
type Fetch ¶
type Fetch struct { SequenceSet *SequenceSet `protobuf:"bytes,1,opt,name=sequenceSet,proto3" json:"sequenceSet,omitempty"` Attributes []*FetchAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
6.4.5. FETCH Command
func (*Fetch) Descriptor
deprecated
func (*Fetch) GetAttributes ¶
func (x *Fetch) GetAttributes() []*FetchAttribute
func (*Fetch) GetSequenceSet ¶
func (x *Fetch) GetSequenceSet() *SequenceSet
func (*Fetch) ProtoMessage ¶
func (*Fetch) ProtoMessage()
func (*Fetch) ProtoReflect ¶
func (x *Fetch) ProtoReflect() protoreflect.Message
type FetchAttribute ¶
type FetchAttribute struct { // Types that are assignable to Attribute: // *FetchAttribute_Keyword // *FetchAttribute_Body Attribute isFetchAttribute_Attribute `protobuf_oneof:"attribute"` // contains filtered or unexported fields }
func (*FetchAttribute) Descriptor
deprecated
func (*FetchAttribute) Descriptor() ([]byte, []int)
Deprecated: Use FetchAttribute.ProtoReflect.Descriptor instead.
func (*FetchAttribute) GetAttribute ¶
func (m *FetchAttribute) GetAttribute() isFetchAttribute_Attribute
func (*FetchAttribute) GetBody ¶
func (x *FetchAttribute) GetBody() *FetchBody
func (*FetchAttribute) GetKeyword ¶
func (x *FetchAttribute) GetKeyword() FetchKeyword
func (*FetchAttribute) ProtoMessage ¶
func (*FetchAttribute) ProtoMessage()
func (*FetchAttribute) ProtoReflect ¶
func (x *FetchAttribute) ProtoReflect() protoreflect.Message
func (*FetchAttribute) Reset ¶
func (x *FetchAttribute) Reset()
func (*FetchAttribute) String ¶
func (x *FetchAttribute) String() string
type FetchAttribute_Body ¶
type FetchAttribute_Body struct {
Body *FetchBody `protobuf:"bytes,2,opt,name=body,proto3,oneof"`
}
type FetchAttribute_Keyword ¶
type FetchAttribute_Keyword struct {
Keyword FetchKeyword `protobuf:"varint,1,opt,name=keyword,proto3,enum=proto.FetchKeyword,oneof"`
}
type FetchBody ¶
type FetchBody struct { // Types that are assignable to OptionalSection: // *FetchBody_Section OptionalSection isFetchBody_OptionalSection `protobuf_oneof:"optionalSection"` // Types that are assignable to OptionalPartial: // *FetchBody_Partial OptionalPartial isFetchBody_OptionalPartial `protobuf_oneof:"optionalPartial"` Peek bool `protobuf:"varint,3,opt,name=peek,proto3" json:"peek,omitempty"` // contains filtered or unexported fields }
func (*FetchBody) Descriptor
deprecated
func (*FetchBody) GetOptionalPartial ¶
func (m *FetchBody) GetOptionalPartial() isFetchBody_OptionalPartial
func (*FetchBody) GetOptionalSection ¶
func (m *FetchBody) GetOptionalSection() isFetchBody_OptionalSection
func (*FetchBody) GetPartial ¶
func (x *FetchBody) GetPartial() *BodyPartial
func (*FetchBody) GetSection ¶
func (x *FetchBody) GetSection() *BodySection
func (*FetchBody) ProtoMessage ¶
func (*FetchBody) ProtoMessage()
func (*FetchBody) ProtoReflect ¶
func (x *FetchBody) ProtoReflect() protoreflect.Message
type FetchBody_Partial ¶
type FetchBody_Partial struct {
Partial *BodyPartial `protobuf:"bytes,2,opt,name=partial,proto3,oneof"`
}
type FetchBody_Section ¶
type FetchBody_Section struct {
Section *BodySection `protobuf:"bytes,1,opt,name=section,proto3,oneof"`
}
type FetchKeyword ¶
type FetchKeyword int32
const ( FetchKeyword_FetchKWEnvelope FetchKeyword = 0 FetchKeyword_FetchKWFlags FetchKeyword = 1 FetchKeyword_FetchKWInternalDate FetchKeyword = 2 FetchKeyword_FetchKWRFC822 FetchKeyword = 3 FetchKeyword_FetchKWRFC822Header FetchKeyword = 4 FetchKeyword_FetchKWRFC822Size FetchKeyword = 5 FetchKeyword_FetchKWRFC822Text FetchKeyword = 6 FetchKeyword_FetchKWBody FetchKeyword = 7 FetchKeyword_FetchKWBodyStructure FetchKeyword = 8 FetchKeyword_FetchKWUID FetchKeyword = 9 )
func (FetchKeyword) Descriptor ¶
func (FetchKeyword) Descriptor() protoreflect.EnumDescriptor
func (FetchKeyword) Enum ¶
func (x FetchKeyword) Enum() *FetchKeyword
func (FetchKeyword) EnumDescriptor
deprecated
func (FetchKeyword) EnumDescriptor() ([]byte, []int)
Deprecated: Use FetchKeyword.Descriptor instead.
func (FetchKeyword) Number ¶
func (x FetchKeyword) Number() protoreflect.EnumNumber
func (FetchKeyword) String ¶
func (x FetchKeyword) String() string
func (FetchKeyword) Type ¶
func (FetchKeyword) Type() protoreflect.EnumType
type IDGet ¶ added in v0.8.0
type IDGet struct {
// contains filtered or unexported fields
}
func (*IDGet) Descriptor
deprecated
added in
v0.8.0
func (*IDGet) ProtoMessage ¶ added in v0.8.0
func (*IDGet) ProtoMessage()
func (*IDGet) ProtoReflect ¶ added in v0.8.0
func (x *IDGet) ProtoReflect() protoreflect.Message
type IDSet ¶ added in v0.8.0
type IDSet struct { Keys map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
RFC2971
func (*IDSet) Descriptor
deprecated
added in
v0.8.0
func (*IDSet) ProtoMessage ¶ added in v0.8.0
func (*IDSet) ProtoMessage()
func (*IDSet) ProtoReflect ¶ added in v0.8.0
func (x *IDSet) ProtoReflect() protoreflect.Message
type Idle ¶
type Idle struct {
// contains filtered or unexported fields
}
RFC2177 Idle Command
func (*Idle) Descriptor
deprecated
func (*Idle) ProtoMessage ¶
func (*Idle) ProtoMessage()
func (*Idle) ProtoReflect ¶
func (x *Idle) ProtoReflect() protoreflect.Message
type List ¶
type List struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Mailbox string `protobuf:"bytes,2,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.8. LIST Command
func (*List) Descriptor
deprecated
func (*List) GetMailbox ¶
func (*List) GetReference ¶
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
type Login ¶
type Login struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password []byte `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
6.2.3. LOGIN Command
func (*Login) Descriptor
deprecated
func (*Login) GetPassword ¶
func (*Login) GetUsername ¶
func (*Login) ProtoMessage ¶
func (*Login) ProtoMessage()
func (*Login) ProtoReflect ¶
func (x *Login) ProtoReflect() protoreflect.Message
type Logout ¶
type Logout struct {
// contains filtered or unexported fields
}
6.1.3 LOGOUT Command
func (*Logout) Descriptor
deprecated
func (*Logout) ProtoMessage ¶
func (*Logout) ProtoMessage()
func (*Logout) ProtoReflect ¶
func (x *Logout) ProtoReflect() protoreflect.Message
type Lsub ¶
type Lsub struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Mailbox string `protobuf:"bytes,2,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.9. Lsub Command
func (*Lsub) Descriptor
deprecated
func (*Lsub) GetMailbox ¶
func (*Lsub) GetReference ¶
func (*Lsub) ProtoMessage ¶
func (*Lsub) ProtoMessage()
func (*Lsub) ProtoReflect ¶
func (x *Lsub) ProtoReflect() protoreflect.Message
type Move ¶
type Move struct { SequenceSet *SequenceSet `protobuf:"bytes,1,opt,name=sequenceSet,proto3" json:"sequenceSet,omitempty"` Mailbox string `protobuf:"bytes,2,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
RFC6851 Move
func (*Move) Descriptor
deprecated
func (*Move) GetMailbox ¶
func (*Move) GetSequenceSet ¶
func (x *Move) GetSequenceSet() *SequenceSet
func (*Move) ProtoMessage ¶
func (*Move) ProtoMessage()
func (*Move) ProtoReflect ¶
func (x *Move) ProtoReflect() protoreflect.Message
type Noop ¶
type Noop struct {
// contains filtered or unexported fields
}
6.1.2 NOOP Command
func (*Noop) Descriptor
deprecated
func (*Noop) ProtoMessage ¶
func (*Noop) ProtoMessage()
func (*Noop) ProtoReflect ¶
func (x *Noop) ProtoReflect() protoreflect.Message
type Operation ¶
type Operation int32
func (Operation) Descriptor ¶
func (Operation) Descriptor() protoreflect.EnumDescriptor
func (Operation) EnumDescriptor
deprecated
func (Operation) Number ¶
func (x Operation) Number() protoreflect.EnumNumber
func (Operation) Type ¶
func (Operation) Type() protoreflect.EnumType
type Rename ¶
type Rename struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` NewName string `protobuf:"bytes,2,opt,name=newName,proto3" json:"newName,omitempty"` // contains filtered or unexported fields }
6.3.5. RENAME Command
func (*Rename) Descriptor
deprecated
func (*Rename) GetMailbox ¶
func (*Rename) GetNewName ¶
func (*Rename) ProtoMessage ¶
func (*Rename) ProtoMessage()
func (*Rename) ProtoReflect ¶
func (x *Rename) ProtoReflect() protoreflect.Message
type Search ¶
type Search struct { // Types that are assignable to OptionalCharset: // *Search_Charset OptionalCharset isSearch_OptionalCharset `protobuf_oneof:"optionalCharset"` Keys []*SearchKey `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
6.4.4. SEARCH Command
func (*Search) Descriptor
deprecated
func (*Search) GetCharset ¶
func (*Search) GetOptionalCharset ¶
func (m *Search) GetOptionalCharset() isSearch_OptionalCharset
func (*Search) ProtoMessage ¶
func (*Search) ProtoMessage()
func (*Search) ProtoReflect ¶
func (x *Search) ProtoReflect() protoreflect.Message
type SearchKey ¶
type SearchKey struct { Keyword SearchKeyword `protobuf:"varint,1,opt,name=keyword,proto3,enum=proto.SearchKeyword" json:"keyword,omitempty"` Text []byte `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` Flag string `protobuf:"bytes,4,opt,name=flag,proto3" json:"flag,omitempty"` Field string `protobuf:"bytes,5,opt,name=field,proto3" json:"field,omitempty"` Size int32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` SequenceSet *SequenceSet `protobuf:"bytes,7,opt,name=sequenceSet,proto3" json:"sequenceSet,omitempty"` LeftOp *SearchKey `protobuf:"bytes,8,opt,name=leftOp,proto3" json:"leftOp,omitempty"` RightOp *SearchKey `protobuf:"bytes,9,opt,name=rightOp,proto3" json:"rightOp,omitempty"` Children []*SearchKey `protobuf:"bytes,10,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*SearchKey) Descriptor
deprecated
func (*SearchKey) GetChildren ¶
func (*SearchKey) GetKeyword ¶
func (x *SearchKey) GetKeyword() SearchKeyword
func (*SearchKey) GetRightOp ¶
func (*SearchKey) GetSequenceSet ¶
func (x *SearchKey) GetSequenceSet() *SequenceSet
func (*SearchKey) ProtoMessage ¶
func (*SearchKey) ProtoMessage()
func (*SearchKey) ProtoReflect ¶
func (x *SearchKey) ProtoReflect() protoreflect.Message
type SearchKeyword ¶
type SearchKeyword int32
const ( SearchKeyword_SearchKWAll SearchKeyword = 0 SearchKeyword_SearchKWAnswered SearchKeyword = 1 SearchKeyword_SearchKWBcc SearchKeyword = 2 SearchKeyword_SearchKWBefore SearchKeyword = 3 SearchKeyword_SearchKWBody SearchKeyword = 4 SearchKeyword_SearchKWCc SearchKeyword = 5 SearchKeyword_SearchKWDeleted SearchKeyword = 6 SearchKeyword_SearchKWDraft SearchKeyword = 7 SearchKeyword_SearchKWFlagged SearchKeyword = 8 SearchKeyword_SearchKWFrom SearchKeyword = 9 SearchKeyword_SearchKWHeader SearchKeyword = 10 SearchKeyword_SearchKWKeyword SearchKeyword = 11 SearchKeyword_SearchKWLarger SearchKeyword = 12 SearchKeyword_SearchKWNew SearchKeyword = 13 SearchKeyword_SearchKWNot SearchKeyword = 14 SearchKeyword_SearchKWOld SearchKeyword = 15 SearchKeyword_SearchKWOn SearchKeyword = 16 SearchKeyword_SearchKWOr SearchKeyword = 17 SearchKeyword_SearchKWRecent SearchKeyword = 18 SearchKeyword_SearchKWSeen SearchKeyword = 19 SearchKeyword_SearchKWSentBefore SearchKeyword = 20 SearchKeyword_SearchKWSentOn SearchKeyword = 21 SearchKeyword_SearchKWSentSince SearchKeyword = 22 SearchKeyword_SearchKWSince SearchKeyword = 23 SearchKeyword_SearchKWSmaller SearchKeyword = 24 SearchKeyword_SearchKWSubject SearchKeyword = 25 SearchKeyword_SearchKWText SearchKeyword = 26 SearchKeyword_SearchKWTo SearchKeyword = 27 SearchKeyword_SearchKWUID SearchKeyword = 28 SearchKeyword_SearchKWUnanswered SearchKeyword = 29 SearchKeyword_SearchKWUndeleted SearchKeyword = 30 SearchKeyword_SearchKWUndraft SearchKeyword = 31 SearchKeyword_SearchKWUnflagged SearchKeyword = 32 SearchKeyword_SearchKWUnkeyword SearchKeyword = 33 SearchKeyword_SearchKWUnseen SearchKeyword = 34 SearchKeyword_SearchKWSeqSet SearchKeyword = 35 SearchKeyword_SearchKWList SearchKeyword = 36 )
func (SearchKeyword) Descriptor ¶
func (SearchKeyword) Descriptor() protoreflect.EnumDescriptor
func (SearchKeyword) Enum ¶
func (x SearchKeyword) Enum() *SearchKeyword
func (SearchKeyword) EnumDescriptor
deprecated
func (SearchKeyword) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchKeyword.Descriptor instead.
func (SearchKeyword) Number ¶
func (x SearchKeyword) Number() protoreflect.EnumNumber
func (SearchKeyword) String ¶
func (x SearchKeyword) String() string
func (SearchKeyword) Type ¶
func (SearchKeyword) Type() protoreflect.EnumType
type Search_Charset ¶
type Search_Charset struct {
Charset string `protobuf:"bytes,1,opt,name=charset,proto3,oneof"`
}
type SectionKeyword ¶
type SectionKeyword int32
const ( SectionKeyword_Header SectionKeyword = 0 SectionKeyword_HeaderFields SectionKeyword = 1 SectionKeyword_HeaderFieldsNot SectionKeyword = 2 SectionKeyword_Text SectionKeyword = 3 SectionKeyword_MIME SectionKeyword = 4 )
func (SectionKeyword) Descriptor ¶
func (SectionKeyword) Descriptor() protoreflect.EnumDescriptor
func (SectionKeyword) Enum ¶
func (x SectionKeyword) Enum() *SectionKeyword
func (SectionKeyword) EnumDescriptor
deprecated
func (SectionKeyword) EnumDescriptor() ([]byte, []int)
Deprecated: Use SectionKeyword.Descriptor instead.
func (SectionKeyword) Number ¶
func (x SectionKeyword) Number() protoreflect.EnumNumber
func (SectionKeyword) String ¶
func (x SectionKeyword) String() string
func (SectionKeyword) Type ¶
func (SectionKeyword) Type() protoreflect.EnumType
type Select ¶
type Select struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.1. SELECT Command
func (*Select) Descriptor
deprecated
func (*Select) GetMailbox ¶
func (*Select) ProtoMessage ¶
func (*Select) ProtoMessage()
func (*Select) ProtoReflect ¶
func (x *Select) ProtoReflect() protoreflect.Message
type SequenceItem ¶
type SequenceItem struct { // Types that are assignable to Item: // *SequenceItem_Number // *SequenceItem_Range Item isSequenceItem_Item `protobuf_oneof:"item"` // contains filtered or unexported fields }
func (*SequenceItem) Descriptor
deprecated
func (*SequenceItem) Descriptor() ([]byte, []int)
Deprecated: Use SequenceItem.ProtoReflect.Descriptor instead.
func (*SequenceItem) GetItem ¶
func (m *SequenceItem) GetItem() isSequenceItem_Item
func (*SequenceItem) GetNumber ¶
func (x *SequenceItem) GetNumber() string
func (*SequenceItem) GetRange ¶
func (x *SequenceItem) GetRange() *SequenceRange
func (*SequenceItem) ProtoMessage ¶
func (*SequenceItem) ProtoMessage()
func (*SequenceItem) ProtoReflect ¶
func (x *SequenceItem) ProtoReflect() protoreflect.Message
func (*SequenceItem) Reset ¶
func (x *SequenceItem) Reset()
func (*SequenceItem) String ¶
func (x *SequenceItem) String() string
type SequenceItem_Number ¶
type SequenceItem_Number struct {
Number string `protobuf:"bytes,1,opt,name=number,proto3,oneof"`
}
type SequenceItem_Range ¶
type SequenceItem_Range struct {
Range *SequenceRange `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}
type SequenceRange ¶
type SequenceRange struct { Begin string `protobuf:"bytes,1,opt,name=begin,proto3" json:"begin,omitempty"` End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*SequenceRange) Descriptor
deprecated
func (*SequenceRange) Descriptor() ([]byte, []int)
Deprecated: Use SequenceRange.ProtoReflect.Descriptor instead.
func (*SequenceRange) GetBegin ¶
func (x *SequenceRange) GetBegin() string
func (*SequenceRange) GetEnd ¶
func (x *SequenceRange) GetEnd() string
func (*SequenceRange) ProtoMessage ¶
func (*SequenceRange) ProtoMessage()
func (*SequenceRange) ProtoReflect ¶
func (x *SequenceRange) ProtoReflect() protoreflect.Message
func (*SequenceRange) Reset ¶
func (x *SequenceRange) Reset()
func (*SequenceRange) String ¶
func (x *SequenceRange) String() string
type SequenceSet ¶
type SequenceSet struct { Items []*SequenceItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*SequenceSet) Descriptor
deprecated
func (*SequenceSet) Descriptor() ([]byte, []int)
Deprecated: Use SequenceSet.ProtoReflect.Descriptor instead.
func (*SequenceSet) GetItems ¶
func (x *SequenceSet) GetItems() []*SequenceItem
func (*SequenceSet) ProtoMessage ¶
func (*SequenceSet) ProtoMessage()
func (*SequenceSet) ProtoReflect ¶
func (x *SequenceSet) ProtoReflect() protoreflect.Message
func (*SequenceSet) Reset ¶
func (x *SequenceSet) Reset()
func (*SequenceSet) String ¶
func (x *SequenceSet) String() string
type StartTLS ¶
type StartTLS struct {
// contains filtered or unexported fields
}
6.2.1. STARTTLS Command
func (*StartTLS) Descriptor
deprecated
func (*StartTLS) ProtoMessage ¶
func (*StartTLS) ProtoMessage()
func (*StartTLS) ProtoReflect ¶
func (x *StartTLS) ProtoReflect() protoreflect.Message
type Status ¶
type Status struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` Attributes []string `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
6.3.10. STATUS Command
func (*Status) Descriptor
deprecated
func (*Status) GetAttributes ¶
func (*Status) GetMailbox ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type Store ¶
type Store struct { SequenceSet *SequenceSet `protobuf:"bytes,1,opt,name=sequenceSet,proto3" json:"sequenceSet,omitempty"` Action *StoreAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` Flags []string `protobuf:"bytes,3,rep,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
6.4.6. STORE Command
func (*Store) Descriptor
deprecated
func (*Store) GetAction ¶
func (x *Store) GetAction() *StoreAction
func (*Store) GetSequenceSet ¶
func (x *Store) GetSequenceSet() *SequenceSet
func (*Store) ProtoMessage ¶
func (*Store) ProtoMessage()
func (*Store) ProtoReflect ¶
func (x *Store) ProtoReflect() protoreflect.Message
type StoreAction ¶
type StoreAction struct { Operation Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=proto.Operation" json:"operation,omitempty"` Silent bool `protobuf:"varint,2,opt,name=silent,proto3" json:"silent,omitempty"` // contains filtered or unexported fields }
func (*StoreAction) Descriptor
deprecated
func (*StoreAction) Descriptor() ([]byte, []int)
Deprecated: Use StoreAction.ProtoReflect.Descriptor instead.
func (*StoreAction) GetOperation ¶
func (x *StoreAction) GetOperation() Operation
func (*StoreAction) GetSilent ¶
func (x *StoreAction) GetSilent() bool
func (*StoreAction) ProtoMessage ¶
func (*StoreAction) ProtoMessage()
func (*StoreAction) ProtoReflect ¶
func (x *StoreAction) ProtoReflect() protoreflect.Message
func (*StoreAction) Reset ¶
func (x *StoreAction) Reset()
func (*StoreAction) String ¶
func (x *StoreAction) String() string
type Sub ¶
type Sub struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.6. SUBSCRIBE Command
func (*Sub) Descriptor
deprecated
func (*Sub) GetMailbox ¶
func (*Sub) ProtoMessage ¶
func (*Sub) ProtoMessage()
func (*Sub) ProtoReflect ¶
func (x *Sub) ProtoReflect() protoreflect.Message
type Time ¶
type Time struct { Hour int32 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"` Minute int32 `protobuf:"varint,2,opt,name=minute,proto3" json:"minute,omitempty"` Second int32 `protobuf:"varint,3,opt,name=second,proto3" json:"second,omitempty"` // contains filtered or unexported fields }
func (*Time) Descriptor
deprecated
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) ProtoReflect ¶
func (x *Time) ProtoReflect() protoreflect.Message
type UID ¶
type UID struct { // Types that are assignable to Command: // *UID_Copy // *UID_Fetch // *UID_Search // *UID_Store // *UID_Move Command isUID_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
6.4.8. UID Command
func (*UID) Descriptor
deprecated
func (*UID) GetCommand ¶
func (m *UID) GetCommand() isUID_Command
func (*UID) ProtoMessage ¶
func (*UID) ProtoMessage()
func (*UID) ProtoReflect ¶
func (x *UID) ProtoReflect() protoreflect.Message
type UIDExpunge ¶
type UIDExpunge struct { SequenceSet *SequenceSet `protobuf:"bytes,1,opt,name=sequenceSet,proto3" json:"sequenceSet,omitempty"` // contains filtered or unexported fields }
RFC4315 UIDPLUS Extension
func (*UIDExpunge) Descriptor
deprecated
func (*UIDExpunge) Descriptor() ([]byte, []int)
Deprecated: Use UIDExpunge.ProtoReflect.Descriptor instead.
func (*UIDExpunge) GetSequenceSet ¶
func (x *UIDExpunge) GetSequenceSet() *SequenceSet
func (*UIDExpunge) ProtoMessage ¶
func (*UIDExpunge) ProtoMessage()
func (*UIDExpunge) ProtoReflect ¶
func (x *UIDExpunge) ProtoReflect() protoreflect.Message
func (*UIDExpunge) Reset ¶
func (x *UIDExpunge) Reset()
func (*UIDExpunge) String ¶
func (x *UIDExpunge) String() string
type UID_Fetch ¶
type UID_Fetch struct {
Fetch *Fetch `protobuf:"bytes,2,opt,name=fetch,proto3,oneof"`
}
type UID_Search ¶
type UID_Search struct {
Search *Search `protobuf:"bytes,3,opt,name=search,proto3,oneof"`
}
type UID_Store ¶
type UID_Store struct {
Store *Store `protobuf:"bytes,4,opt,name=store,proto3,oneof"`
}
type Unselect ¶
type Unselect struct {
// contains filtered or unexported fields
}
RFC3691 UNSELECT Extension
func (*Unselect) Descriptor
deprecated
func (*Unselect) ProtoMessage ¶
func (*Unselect) ProtoMessage()
func (*Unselect) ProtoReflect ¶
func (x *Unselect) ProtoReflect() protoreflect.Message
type Unsub ¶
type Unsub struct { Mailbox string `protobuf:"bytes,1,opt,name=mailbox,proto3" json:"mailbox,omitempty"` // contains filtered or unexported fields }
6.3.7. UNSUBSCRIBE Command
func (*Unsub) Descriptor
deprecated
func (*Unsub) GetMailbox ¶
func (*Unsub) ProtoMessage ¶
func (*Unsub) ProtoMessage()
func (*Unsub) ProtoReflect ¶
func (x *Unsub) ProtoReflect() protoreflect.Message
type Zone ¶
type Zone struct { Sign bool `protobuf:"varint,1,opt,name=sign,proto3" json:"sign,omitempty"` Hour int32 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"` Minute int32 `protobuf:"varint,3,opt,name=minute,proto3" json:"minute,omitempty"` // contains filtered or unexported fields }
func (*Zone) Descriptor
deprecated
func (*Zone) ProtoMessage ¶
func (*Zone) ProtoMessage()
func (*Zone) ProtoReflect ¶
func (x *Zone) ProtoReflect() protoreflect.Message