Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrClosed means the cursor has been closed already. ErrClosed = errors.New("cursor closed") )
Functions ¶
This section is empty.
Types ¶
type Cursor ¶
type Cursor struct {
// contains filtered or unexported fields
}
Cursor is a archive.Mail cursor.
func (*Cursor) All ¶
All returns the remaining archive.Mails from the Cursor and calls cur.Close(ctx) afterwards.
It fails with ErrClosed if cur.Close() has been called before.
func (*Cursor) Close ¶
Close closes the Cursor and puts it in an unusable state. It fails with ErrClosed if cur.Close() has been called before.
Click to show internal directories.
Click to hide internal directories.