internal

package
v2.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DateTimeLayout = "_2-Jan-2006 15:04:05 -0700"
	DateLayout     = "2-Jan-2006"
)
View Source
const FlagRecent imap.Flag = "\\Recent" // removed in IMAP4rev2

Variables

This section is empty.

Functions

func DecodeDateTime

func DecodeDateTime(dec *imapwire.Decoder) (time.Time, error)

func DecodeSASL

func DecodeSASL(s string) ([]byte, error)

func EncodeSASL

func EncodeSASL(b []byte) string

func ExpectDate

func ExpectDate(dec *imapwire.Decoder) (time.Time, error)

func ExpectDateTime

func ExpectDateTime(dec *imapwire.Decoder) (time.Time, error)

func ExpectFlag

func ExpectFlag(dec *imapwire.Decoder) (imap.Flag, error)

func ExpectFlagList

func ExpectFlagList(dec *imapwire.Decoder) ([]imap.Flag, error)

func ExpectMailboxAttr

func ExpectMailboxAttr(dec *imapwire.Decoder) (imap.MailboxAttr, error)

func ExpectMailboxAttrList

func ExpectMailboxAttrList(dec *imapwire.Decoder) ([]imap.MailboxAttr, error)

func FormatRights

func FormatRights(rm imap.RightModification, rs imap.RightSet) string

Types

This section is empty.

Directories

Path Synopsis
Package imapwire implements the IMAP wire protocol.
Package imapwire implements the IMAP wire protocol.
Package utf7 implements modified UTF-7 encoding defined in RFC 3501 section 5.1.3
Package utf7 implements modified UTF-7 encoding defined in RFC 3501 section 5.1.3

Jump to

Keyboard shortcuts

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