Documentation ¶
Overview ¶
Package session handles IMAP commands received from clients within a single IMAP session (one client connection).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCreateInbox = errors.New("cannot create INBOX") ErrDeleteInbox = errors.New("cannot delete INBOX") ErrReadOnly = errors.New("the mailbox is read-only") ErrNotAuthenticated = errors.New("session is not authenticated") ErrAlreadyAuthenticated = errors.New("session is already authenticated") ErrNotImplemented = errors.New("not implemented") )
View Source
var ErrFlagRecentIsReserved = errors.New(`system flag \Recent is reserved`)
Functions ¶
This section is empty.
Types ¶
type ParserError ¶
type ParserError struct {
// contains filtered or unexported fields
}
func (*ParserError) Error ¶
func (pe *ParserError) Error() string
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) SetIncomingLogger ¶
func (*Session) SetOutgoingLogger ¶
func (*Session) SetTLSConfig ¶
func (*Session) WriteResponse ¶
type UnmarshalError ¶
type UnmarshalError struct {
// contains filtered or unexported fields
}
func (*UnmarshalError) Error ¶
func (e *UnmarshalError) Error() string
Source Files ¶
- command.go
- context.go
- errors.go
- flags.go
- handle.go
- handle_append.go
- handle_capability.go
- handle_check.go
- handle_close.go
- handle_copy.go
- handle_create.go
- handle_delete.go
- handle_examine.go
- handle_expunge.go
- handle_fetch.go
- handle_id.go
- handle_idle.go
- handle_list.go
- handle_login.go
- handle_logout.go
- handle_lsub.go
- handle_move.go
- handle_noop.go
- handle_rename.go
- handle_search.go
- handle_select.go
- handle_starttls.go
- handle_status.go
- handle_store.go
- handle_sub.go
- handle_uid.go
- handle_unselect.go
- handle_unsub.go
- init.go
- logger.go
- parser.go
- responses.go
- session.go
Click to show internal directories.
Click to hide internal directories.