Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MessageLister ¶
type MessageLister interface { ListAll(ctx context.Context, handler func(message.ID) error) error ListFrom(ctx context.Context, historyId uint64, handler func(message.ID) error) error }
MessageLister lists all message identifiers from a message storage system.
type MessageMetaGetter ¶
type MessageMetaGetter interface { GetMessageHeader(ctx context.Context, id string) (*message.Header, error) GetMessageFull(ctx context.Context, id string) (*message.Body, error) }
MessageMetaGetter gets per message metadata from message storage system.
type MessageProfiler ¶
MessageProfiler gets per account metadata from a message storage system.
type MessageStorage ¶
type MessageStorage interface { MessageLister MessageMetaGetter MessageProfiler }
MessageStorage provides all possible actions available to deal with message storage.
Click to show internal directories.
Click to hide internal directories.