package internal
import "github.com/emersion/go-imap/v2/internal"
Index ¶
- Constants
- func DecodeDateTime(dec *imapwire.Decoder) (time.Time, error)
- func DecodeSASL(s string) ([]byte, error)
- func EncodeSASL(b []byte) string
- func ExpectDate(dec *imapwire.Decoder) (time.Time, error)
- func ExpectDateTime(dec *imapwire.Decoder) (time.Time, error)
- func ExpectFlag(dec *imapwire.Decoder) (imap.Flag, error)
- func ExpectFlagList(dec *imapwire.Decoder) ([]imap.Flag, error)
- func ExpectMailboxAttr(dec *imapwire.Decoder) (imap.MailboxAttr, error)
- func ExpectMailboxAttrList(dec *imapwire.Decoder) ([]imap.MailboxAttr, error)
- func FormatRights(rm imap.RightModification, rs imap.RightSet) string
Constants ¶
const ( DateTimeLayout = "_2-Jan-2006 15:04:05 -0700" DateLayout = "2-Jan-2006" )
const FlagRecent imap.Flag = "\\Recent" // removed in IMAP4rev2
Functions ¶
func DecodeDateTime ¶
func DecodeSASL ¶
func EncodeSASL ¶
func ExpectDate ¶
func ExpectDateTime ¶
func ExpectFlag ¶
func ExpectFlagList ¶
func ExpectMailboxAttr ¶
func ExpectMailboxAttrList ¶
func FormatRights ¶
func FormatRights(rm imap.RightModification, rs imap.RightSet) string
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal/imapnum | |
internal/imapwire | Package imapwire implements the IMAP wire protocol. |
internal/utf7 | Package utf7 implements modified UTF-7 encoding defined in RFC 3501 section 5.1.3 |
- Version
- v2.0.0-beta.5 (latest)
- Published
- Feb 14, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 day ago –
Tools for package owners.