Documentation ¶
Overview ¶
Package response implements types used when sending IMAP responses back to clients.
Index ¶
- func Bad(withTag ...string) *bad
- func Bye() *bye
- func Capability() *capability
- func Continuation() *continuation
- func Exists() *exists
- func Expunge(seq imap.SeqID) *expunge
- func Fetch(seq imap.SeqID) *fetch
- func Flags() *flags
- func ID(id imap.IMAPID) *idResponse
- func ItemAppendUID(uidValidity, messageUID imap.UID) *itemAppendUID
- func ItemBadCharset() *itemBadCharset
- func ItemBody(structure string) *itemBody
- func ItemBodyLiteral(section string, literal []byte) *itemBodyLiteral
- func ItemBodyStructure(structure string) *itemBodyStructure
- func ItemCapability(caps ...imap.Capability) *itemCapability
- func ItemCopyUID(uidValidity imap.UID, sourceSet, destSet []imap.UID) *itemCopyUID
- func ItemEnvelope(envelope string) *itemEnvelope
- func ItemExpungeIssued() *itemExpungeIssued
- func ItemFlags(flags imap.FlagSet) *itemFlags
- func ItemInternalDate(date time.Time) *itemInternalDate
- func ItemMessages(n int) *itemMessages
- func ItemPermanentFlags(flags imap.FlagSet) *itemPermanentFlags
- func ItemRFC822Header(header []byte) *itemRFC822Header
- func ItemRFC822Literal(literal []byte) *itemRFC822Literal
- func ItemRFC822Size(size int) *itemRFC822Size
- func ItemRFC822Text(text []byte) *itemRFC822Text
- func ItemReadOnly() *itemReadOnly
- func ItemReadWrite() *itemReadWrite
- func ItemRecent(n int) *itemRecent
- func ItemTryCreate() *itemTryCreate
- func ItemUID(n imap.UID) *itemUID
- func ItemUIDNext(n imap.UID) *itemUIDNext
- func ItemUIDValidity(n imap.UID) *itemUIDValidity
- func ItemUnseen(n uint32) *itemUnseen
- func List() *list
- func Lsub() *lsub
- func No(withTag ...string) *no
- func Ok(withTag ...string) *ok
- func Recent() *recent
- func Search(seqs ...uint32) *search
- func Status() *status
- type Item
- type Response
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capability ¶
func Capability() *capability
func Continuation ¶
func Continuation() *continuation
func ItemAppendUID ¶
func ItemBadCharset ¶ added in v0.9.0
func ItemBadCharset() *itemBadCharset
func ItemBodyLiteral ¶
func ItemBodyStructure ¶
func ItemBodyStructure(structure string) *itemBodyStructure
func ItemCapability ¶
func ItemCapability(caps ...imap.Capability) *itemCapability
func ItemCopyUID ¶
func ItemEnvelope ¶
func ItemEnvelope(envelope string) *itemEnvelope
func ItemExpungeIssued ¶
func ItemExpungeIssued() *itemExpungeIssued
func ItemInternalDate ¶
func ItemMessages ¶
func ItemMessages(n int) *itemMessages
func ItemPermanentFlags ¶
func ItemRFC822Header ¶
func ItemRFC822Header(header []byte) *itemRFC822Header
func ItemRFC822Literal ¶
func ItemRFC822Literal(literal []byte) *itemRFC822Literal
func ItemRFC822Size ¶
func ItemRFC822Size(size int) *itemRFC822Size
func ItemRFC822Text ¶
func ItemRFC822Text(text []byte) *itemRFC822Text
func ItemReadOnly ¶
func ItemReadOnly() *itemReadOnly
func ItemReadWrite ¶
func ItemReadWrite() *itemReadWrite
func ItemRecent ¶
func ItemRecent(n int) *itemRecent
func ItemTryCreate ¶
func ItemTryCreate() *itemTryCreate
func ItemUIDNext ¶
func ItemUIDValidity ¶
func ItemUnseen ¶
func ItemUnseen(n uint32) *itemUnseen
Types ¶
Source Files ¶
- bad.go
- bye.go
- capability.go
- continuation.go
- error.go
- exists.go
- expunge.go
- fetch.go
- flags.go
- format.go
- id.go
- item.go
- item_appenduid.go
- item_badcharset.go
- item_body.go
- item_body_literal.go
- item_bodystructure.go
- item_capability.go
- item_copyuid.go
- item_envelope.go
- item_expungeissued.go
- item_flags.go
- item_internal_date.go
- item_messages.go
- item_permanent_flags.go
- item_read_only.go
- item_read_write.go
- item_recent.go
- item_rfc822_header.go
- item_rfc822_literal.go
- item_rfc822_size.go
- item_rfc822_text.go
- item_trycreate.go
- item_uid.go
- item_uid_next.go
- item_uid_validity.go
- item_unseen.go
- list.go
- lsub.go
- merge.go
- no.go
- ok.go
- recent.go
- search.go
- status.go
- types.go
Click to show internal directories.
Click to hide internal directories.