proto

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Append.ProtoReflect.Descriptor instead.

func (*Append) GetDateTime

func (x *Append) GetDateTime() *DateTime

func (*Append) GetFlags

func (x *Append) GetFlags() []string

func (*Append) GetMailbox

func (x *Append) GetMailbox() string

func (*Append) GetMessage

func (x *Append) GetMessage() []byte

func (*Append) GetOptionalDateTime

func (m *Append) GetOptionalDateTime() isAppend_OptionalDateTime

func (*Append) ProtoMessage

func (*Append) ProtoMessage()

func (*Append) ProtoReflect

func (x *Append) ProtoReflect() protoreflect.Message

func (*Append) Reset

func (x *Append) Reset()

func (*Append) String

func (x *Append) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetData

func (x *Auth) GetData() []string

func (*Auth) GetType

func (x *Auth) GetType() string

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

func (x *Auth) ProtoReflect() protoreflect.Message

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Check.ProtoReflect.Descriptor instead.

func (*Check) ProtoMessage

func (*Check) ProtoMessage()

func (*Check) ProtoReflect

func (x *Check) ProtoReflect() protoreflect.Message

func (*Check) Reset

func (x *Check) Reset()

func (*Check) String

func (x *Check) String() string

type Close

type Close struct {
	// contains filtered or unexported fields
}

6.4.2. CLOSE Command

func (*Close) Descriptor deprecated

func (*Close) Descriptor() ([]byte, []int)

Deprecated: Use Close.ProtoReflect.Descriptor instead.

func (*Close) ProtoMessage

func (*Close) ProtoMessage()

func (*Close) ProtoReflect

func (x *Close) ProtoReflect() protoreflect.Message

func (*Close) Reset

func (x *Close) Reset()

func (*Close) String

func (x *Close) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetAppend

func (x *Command) GetAppend() *Append

func (*Command) GetAuth

func (x *Command) GetAuth() *Auth

func (*Command) GetCapability

func (x *Command) GetCapability() *Capability

func (*Command) GetCheck

func (x *Command) GetCheck() *Check

func (*Command) GetClose

func (x *Command) GetClose() *Close

func (*Command) GetCommand

func (m *Command) GetCommand() isCommand_Command

func (*Command) GetCopy

func (x *Command) GetCopy() *Copy

func (*Command) GetCreate

func (x *Command) GetCreate() *Create

func (*Command) GetDel

func (x *Command) GetDel() *Del

func (*Command) GetDone

func (x *Command) GetDone() *Done

func (*Command) GetExamine

func (x *Command) GetExamine() *Examine

func (*Command) GetExpunge

func (x *Command) GetExpunge() *Expunge

func (*Command) GetFetch

func (x *Command) GetFetch() *Fetch

func (*Command) GetIdGet added in v0.8.0

func (x *Command) GetIdGet() *IDGet

func (*Command) GetIdSet added in v0.8.0

func (x *Command) GetIdSet() *IDSet

func (*Command) GetIdle

func (x *Command) GetIdle() *Idle

func (*Command) GetList

func (x *Command) GetList() *List

func (*Command) GetLogin

func (x *Command) GetLogin() *Login

func (*Command) GetLogout

func (x *Command) GetLogout() *Logout

func (*Command) GetLsub

func (x *Command) GetLsub() *Lsub

func (*Command) GetMove

func (x *Command) GetMove() *Move

func (*Command) GetNoop

func (x *Command) GetNoop() *Noop

func (*Command) GetRename

func (x *Command) GetRename() *Rename

func (*Command) GetSearch

func (x *Command) GetSearch() *Search

func (*Command) GetSelect

func (x *Command) GetSelect() *Select

func (*Command) GetStartTLS

func (x *Command) GetStartTLS() *StartTLS

func (*Command) GetStatus

func (x *Command) GetStatus() *Status

func (*Command) GetStore

func (x *Command) GetStore() *Store

func (*Command) GetSub

func (x *Command) GetSub() *Sub

func (*Command) GetUid

func (x *Command) GetUid() *UID

func (*Command) GetUidExpunge

func (x *Command) GetUidExpunge() *UIDExpunge

func (*Command) GetUnselect

func (x *Command) GetUnselect() *Unselect

func (*Command) GetUnsub

func (x *Command) GetUnsub() *Unsub

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

func (x *Command) ProtoReflect() protoreflect.Message

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Copy.ProtoReflect.Descriptor instead.

func (*Copy) GetMailbox

func (x *Copy) GetMailbox() string

func (*Copy) GetSequenceSet

func (x *Copy) GetSequenceSet() *SequenceSet

func (*Copy) ProtoMessage

func (*Copy) ProtoMessage()

func (*Copy) ProtoReflect

func (x *Copy) ProtoReflect() protoreflect.Message

func (*Copy) Reset

func (x *Copy) Reset()

func (*Copy) String

func (x *Copy) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Create.ProtoReflect.Descriptor instead.

func (*Create) GetMailbox

func (x *Create) GetMailbox() string

func (*Create) ProtoMessage

func (*Create) ProtoMessage()

func (*Create) ProtoReflect

func (x *Create) ProtoReflect() protoreflect.Message

func (*Create) Reset

func (x *Create) Reset()

func (*Create) String

func (x *Create) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetDay

func (x *Date) GetDay() int32

func (*Date) GetMonth

func (x *Date) GetMonth() int32

func (*Date) GetYear

func (x *Date) GetYear() int32

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) ProtoReflect

func (x *Date) ProtoReflect() protoreflect.Message

func (*Date) Reset

func (x *Date) Reset()

func (*Date) String

func (x *Date) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DateTime.ProtoReflect.Descriptor instead.

func (*DateTime) GetDate

func (x *DateTime) GetDate() *Date

func (*DateTime) GetTime

func (x *DateTime) GetTime() *Time

func (*DateTime) GetZone

func (x *DateTime) GetZone() *Zone

func (*DateTime) ProtoMessage

func (*DateTime) ProtoMessage()

func (*DateTime) ProtoReflect

func (x *DateTime) ProtoReflect() protoreflect.Message

func (*DateTime) Reset

func (x *DateTime) Reset()

func (*DateTime) String

func (x *DateTime) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Del.ProtoReflect.Descriptor instead.

func (*Del) GetMailbox

func (x *Del) GetMailbox() string

func (*Del) ProtoMessage

func (*Del) ProtoMessage()

func (*Del) ProtoReflect

func (x *Del) ProtoReflect() protoreflect.Message

func (*Del) Reset

func (x *Del) Reset()

func (*Del) String

func (x *Del) String() string

type Done

type Done struct {
	// contains filtered or unexported fields
}

func (*Done) Descriptor deprecated

func (*Done) Descriptor() ([]byte, []int)

Deprecated: Use Done.ProtoReflect.Descriptor instead.

func (*Done) ProtoMessage

func (*Done) ProtoMessage()

func (*Done) ProtoReflect

func (x *Done) ProtoReflect() protoreflect.Message

func (*Done) Reset

func (x *Done) Reset()

func (*Done) String

func (x *Done) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Examine.ProtoReflect.Descriptor instead.

func (*Examine) GetMailbox

func (x *Examine) GetMailbox() string

func (*Examine) ProtoMessage

func (*Examine) ProtoMessage()

func (*Examine) ProtoReflect

func (x *Examine) ProtoReflect() protoreflect.Message

func (*Examine) Reset

func (x *Examine) Reset()

func (*Examine) String

func (x *Examine) String() string

type Expunge

type Expunge struct {
	// contains filtered or unexported fields
}

6.4.3. EXPUNGE Command

func (*Expunge) Descriptor deprecated

func (*Expunge) Descriptor() ([]byte, []int)

Deprecated: Use Expunge.ProtoReflect.Descriptor instead.

func (*Expunge) ProtoMessage

func (*Expunge) ProtoMessage()

func (*Expunge) ProtoReflect

func (x *Expunge) ProtoReflect() protoreflect.Message

func (*Expunge) Reset

func (x *Expunge) Reset()

func (*Expunge) String

func (x *Expunge) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Fetch.ProtoReflect.Descriptor instead.

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

func (*Fetch) Reset

func (x *Fetch) Reset()

func (*Fetch) String

func (x *Fetch) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FetchBody.ProtoReflect.Descriptor instead.

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) GetPeek

func (x *FetchBody) GetPeek() bool

func (*FetchBody) GetSection

func (x *FetchBody) GetSection() *BodySection

func (*FetchBody) ProtoMessage

func (*FetchBody) ProtoMessage()

func (*FetchBody) ProtoReflect

func (x *FetchBody) ProtoReflect() protoreflect.Message

func (*FetchBody) Reset

func (x *FetchBody) Reset()

func (*FetchBody) String

func (x *FetchBody) String() string

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) Enum

func (x FetchKeyword) Enum() *FetchKeyword

func (FetchKeyword) EnumDescriptor deprecated

func (FetchKeyword) EnumDescriptor() ([]byte, []int)

Deprecated: Use FetchKeyword.Descriptor instead.

func (FetchKeyword) Number

func (FetchKeyword) String

func (x FetchKeyword) String() string

func (FetchKeyword) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use IDGet.ProtoReflect.Descriptor instead.

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

func (*IDGet) Reset added in v0.8.0

func (x *IDGet) Reset()

func (*IDGet) String added in v0.8.0

func (x *IDGet) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use IDSet.ProtoReflect.Descriptor instead.

func (*IDSet) GetKeys added in v0.8.0

func (x *IDSet) GetKeys() map[string]string

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

func (*IDSet) Reset added in v0.8.0

func (x *IDSet) Reset()

func (*IDSet) String added in v0.8.0

func (x *IDSet) String() string

type Idle

type Idle struct {
	// contains filtered or unexported fields
}

RFC2177 Idle Command

func (*Idle) Descriptor deprecated

func (*Idle) Descriptor() ([]byte, []int)

Deprecated: Use Idle.ProtoReflect.Descriptor instead.

func (*Idle) ProtoMessage

func (*Idle) ProtoMessage()

func (*Idle) ProtoReflect

func (x *Idle) ProtoReflect() protoreflect.Message

func (*Idle) Reset

func (x *Idle) Reset()

func (*Idle) String

func (x *Idle) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetMailbox

func (x *List) GetMailbox() string

func (*List) GetReference

func (x *List) GetReference() string

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

func (x *List) ProtoReflect() protoreflect.Message

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Login.ProtoReflect.Descriptor instead.

func (*Login) GetPassword

func (x *Login) GetPassword() []byte

func (*Login) GetUsername

func (x *Login) GetUsername() string

func (*Login) ProtoMessage

func (*Login) ProtoMessage()

func (*Login) ProtoReflect

func (x *Login) ProtoReflect() protoreflect.Message

func (*Login) Reset

func (x *Login) Reset()

func (*Login) String

func (x *Login) String() string

type Logout

type Logout struct {
	// contains filtered or unexported fields
}

6.1.3 LOGOUT Command

func (*Logout) Descriptor deprecated

func (*Logout) Descriptor() ([]byte, []int)

Deprecated: Use Logout.ProtoReflect.Descriptor instead.

func (*Logout) ProtoMessage

func (*Logout) ProtoMessage()

func (*Logout) ProtoReflect

func (x *Logout) ProtoReflect() protoreflect.Message

func (*Logout) Reset

func (x *Logout) Reset()

func (*Logout) String

func (x *Logout) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Lsub.ProtoReflect.Descriptor instead.

func (*Lsub) GetMailbox

func (x *Lsub) GetMailbox() string

func (*Lsub) GetReference

func (x *Lsub) GetReference() string

func (*Lsub) ProtoMessage

func (*Lsub) ProtoMessage()

func (*Lsub) ProtoReflect

func (x *Lsub) ProtoReflect() protoreflect.Message

func (*Lsub) Reset

func (x *Lsub) Reset()

func (*Lsub) String

func (x *Lsub) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Move.ProtoReflect.Descriptor instead.

func (*Move) GetMailbox

func (x *Move) GetMailbox() string

func (*Move) GetSequenceSet

func (x *Move) GetSequenceSet() *SequenceSet

func (*Move) ProtoMessage

func (*Move) ProtoMessage()

func (*Move) ProtoReflect

func (x *Move) ProtoReflect() protoreflect.Message

func (*Move) Reset

func (x *Move) Reset()

func (*Move) String

func (x *Move) String() string

type Noop

type Noop struct {
	// contains filtered or unexported fields
}

6.1.2 NOOP Command

func (*Noop) Descriptor deprecated

func (*Noop) Descriptor() ([]byte, []int)

Deprecated: Use Noop.ProtoReflect.Descriptor instead.

func (*Noop) ProtoMessage

func (*Noop) ProtoMessage()

func (*Noop) ProtoReflect

func (x *Noop) ProtoReflect() protoreflect.Message

func (*Noop) Reset

func (x *Noop) Reset()

func (*Noop) String

func (x *Noop) String() string

type Operation

type Operation int32
const (
	Operation_Replace Operation = 0
	Operation_Add     Operation = 1
	Operation_Remove  Operation = 2
)

func (Operation) Descriptor

func (Operation) Descriptor() protoreflect.EnumDescriptor

func (Operation) Enum

func (x Operation) Enum() *Operation

func (Operation) EnumDescriptor deprecated

func (Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use Operation.Descriptor instead.

func (Operation) Number

func (x Operation) Number() protoreflect.EnumNumber

func (Operation) String

func (x Operation) String() string

func (Operation) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Rename.ProtoReflect.Descriptor instead.

func (*Rename) GetMailbox

func (x *Rename) GetMailbox() string

func (*Rename) GetNewName

func (x *Rename) GetNewName() string

func (*Rename) ProtoMessage

func (*Rename) ProtoMessage()

func (*Rename) ProtoReflect

func (x *Rename) ProtoReflect() protoreflect.Message

func (*Rename) Reset

func (x *Rename) Reset()

func (*Rename) String

func (x *Rename) String() string
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) Descriptor() ([]byte, []int)

Deprecated: Use Search.ProtoReflect.Descriptor instead.

func (*Search) GetCharset

func (x *Search) GetCharset() string

func (*Search) GetKeys

func (x *Search) GetKeys() []*SearchKey

func (*Search) GetOptionalCharset

func (m *Search) GetOptionalCharset() isSearch_OptionalCharset

func (*Search) ProtoMessage

func (*Search) ProtoMessage()

func (*Search) ProtoReflect

func (x *Search) ProtoReflect() protoreflect.Message

func (*Search) Reset

func (x *Search) Reset()

func (*Search) String

func (x *Search) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SearchKey.ProtoReflect.Descriptor instead.

func (*SearchKey) GetChildren

func (x *SearchKey) GetChildren() []*SearchKey

func (*SearchKey) GetDate

func (x *SearchKey) GetDate() string

func (*SearchKey) GetField

func (x *SearchKey) GetField() string

func (*SearchKey) GetFlag

func (x *SearchKey) GetFlag() string

func (*SearchKey) GetKeyword

func (x *SearchKey) GetKeyword() SearchKeyword

func (*SearchKey) GetLeftOp

func (x *SearchKey) GetLeftOp() *SearchKey

func (*SearchKey) GetRightOp

func (x *SearchKey) GetRightOp() *SearchKey

func (*SearchKey) GetSequenceSet

func (x *SearchKey) GetSequenceSet() *SequenceSet

func (*SearchKey) GetSize

func (x *SearchKey) GetSize() int32

func (*SearchKey) GetText

func (x *SearchKey) GetText() []byte

func (*SearchKey) ProtoMessage

func (*SearchKey) ProtoMessage()

func (*SearchKey) ProtoReflect

func (x *SearchKey) ProtoReflect() protoreflect.Message

func (*SearchKey) Reset

func (x *SearchKey) Reset()

func (*SearchKey) String

func (x *SearchKey) String() string

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) Enum

func (x SearchKeyword) Enum() *SearchKeyword

func (SearchKeyword) EnumDescriptor deprecated

func (SearchKeyword) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchKeyword.Descriptor instead.

func (SearchKeyword) Number

func (SearchKeyword) String

func (x SearchKeyword) String() string

func (SearchKeyword) Type

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) Enum

func (x SectionKeyword) Enum() *SectionKeyword

func (SectionKeyword) EnumDescriptor deprecated

func (SectionKeyword) EnumDescriptor() ([]byte, []int)

Deprecated: Use SectionKeyword.Descriptor instead.

func (SectionKeyword) Number

func (SectionKeyword) String

func (x SectionKeyword) String() string

func (SectionKeyword) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Select.ProtoReflect.Descriptor instead.

func (*Select) GetMailbox

func (x *Select) GetMailbox() string

func (*Select) ProtoMessage

func (*Select) ProtoMessage()

func (*Select) ProtoReflect

func (x *Select) ProtoReflect() protoreflect.Message

func (*Select) Reset

func (x *Select) Reset()

func (*Select) String

func (x *Select) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use StartTLS.ProtoReflect.Descriptor instead.

func (*StartTLS) ProtoMessage

func (*StartTLS) ProtoMessage()

func (*StartTLS) ProtoReflect

func (x *StartTLS) ProtoReflect() protoreflect.Message

func (*StartTLS) Reset

func (x *StartTLS) Reset()

func (*StartTLS) String

func (x *StartTLS) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetAttributes

func (x *Status) GetAttributes() []string

func (*Status) GetMailbox

func (x *Status) GetMailbox() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Store.ProtoReflect.Descriptor instead.

func (*Store) GetAction

func (x *Store) GetAction() *StoreAction

func (*Store) GetFlags

func (x *Store) GetFlags() []string

func (*Store) GetSequenceSet

func (x *Store) GetSequenceSet() *SequenceSet

func (*Store) ProtoMessage

func (*Store) ProtoMessage()

func (*Store) ProtoReflect

func (x *Store) ProtoReflect() protoreflect.Message

func (*Store) Reset

func (x *Store) Reset()

func (*Store) String

func (x *Store) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Sub.ProtoReflect.Descriptor instead.

func (*Sub) GetMailbox

func (x *Sub) GetMailbox() string

func (*Sub) ProtoMessage

func (*Sub) ProtoMessage()

func (*Sub) ProtoReflect

func (x *Sub) ProtoReflect() protoreflect.Message

func (*Sub) Reset

func (x *Sub) Reset()

func (*Sub) String

func (x *Sub) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetHour

func (x *Time) GetHour() int32

func (*Time) GetMinute

func (x *Time) GetMinute() int32

func (*Time) GetSecond

func (x *Time) GetSecond() int32

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoReflect

func (x *Time) ProtoReflect() protoreflect.Message

func (*Time) Reset

func (x *Time) Reset()

func (*Time) String

func (x *Time) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UID.ProtoReflect.Descriptor instead.

func (*UID) GetCommand

func (m *UID) GetCommand() isUID_Command

func (*UID) GetCopy

func (x *UID) GetCopy() *Copy

func (*UID) GetFetch

func (x *UID) GetFetch() *Fetch

func (*UID) GetMove

func (x *UID) GetMove() *Move

func (*UID) GetSearch

func (x *UID) GetSearch() *Search

func (*UID) GetStore

func (x *UID) GetStore() *Store

func (*UID) ProtoMessage

func (*UID) ProtoMessage()

func (*UID) ProtoReflect

func (x *UID) ProtoReflect() protoreflect.Message

func (*UID) Reset

func (x *UID) Reset()

func (*UID) String

func (x *UID) String() string

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_Copy

type UID_Copy struct {
	Copy *Copy `protobuf:"bytes,1,opt,name=copy,proto3,oneof"`
}

type UID_Fetch

type UID_Fetch struct {
	Fetch *Fetch `protobuf:"bytes,2,opt,name=fetch,proto3,oneof"`
}

type UID_Move

type UID_Move struct {
	Move *Move `protobuf:"bytes,5,opt,name=move,proto3,oneof"`
}
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) Descriptor() ([]byte, []int)

Deprecated: Use Unselect.ProtoReflect.Descriptor instead.

func (*Unselect) ProtoMessage

func (*Unselect) ProtoMessage()

func (*Unselect) ProtoReflect

func (x *Unselect) ProtoReflect() protoreflect.Message

func (*Unselect) Reset

func (x *Unselect) Reset()

func (*Unselect) String

func (x *Unselect) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Unsub.ProtoReflect.Descriptor instead.

func (*Unsub) GetMailbox

func (x *Unsub) GetMailbox() string

func (*Unsub) ProtoMessage

func (*Unsub) ProtoMessage()

func (*Unsub) ProtoReflect

func (x *Unsub) ProtoReflect() protoreflect.Message

func (*Unsub) Reset

func (x *Unsub) Reset()

func (*Unsub) String

func (x *Unsub) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Zone.ProtoReflect.Descriptor instead.

func (*Zone) GetHour

func (x *Zone) GetHour() int32

func (*Zone) GetMinute

func (x *Zone) GetMinute() int32

func (*Zone) GetSign

func (x *Zone) GetSign() bool

func (*Zone) ProtoMessage

func (*Zone) ProtoMessage()

func (*Zone) ProtoReflect

func (x *Zone) ProtoReflect() protoreflect.Message

func (*Zone) Reset

func (x *Zone) Reset()

func (*Zone) String

func (x *Zone) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL