Documentation ¶
Overview ¶
Provides backends to trigger events.
Index ¶
- func NewAddresses(addrs backend.AddressesBackend, events backend.EventsBackend) backend.AddressesBackend
- func NewContacts(bkd backend.ContactsBackend, events backend.EventsBackend) backend.ContactsBackend
- func NewConversations(bkd backend.ConversationsBackend, events backend.EventsBackend) backend.ConversationsBackend
- func NewLabels(bkd backend.LabelsBackend, events backend.EventsBackend) backend.LabelsBackend
- func NewMessages(bkd backend.MessagesBackend, events backend.EventsBackend) backend.MessagesBackend
- type Addresses
- type Contacts
- type Conversations
- type Labels
- type Messages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddresses ¶
func NewAddresses(addrs backend.AddressesBackend, events backend.EventsBackend) backend.AddressesBackend
func NewContacts ¶
func NewContacts(bkd backend.ContactsBackend, events backend.EventsBackend) backend.ContactsBackend
func NewConversations ¶
func NewConversations(bkd backend.ConversationsBackend, events backend.EventsBackend) backend.ConversationsBackend
func NewLabels ¶
func NewLabels(bkd backend.LabelsBackend, events backend.EventsBackend) backend.LabelsBackend
func NewMessages ¶
func NewMessages(bkd backend.MessagesBackend, events backend.EventsBackend) backend.MessagesBackend
Types ¶
type Addresses ¶
type Addresses struct { backend.AddressesBackend // contains filtered or unexported fields }
func (*Addresses) DeleteAddress ¶
func (*Addresses) InsertAddress ¶
func (*Addresses) UpdateAddress ¶
type Contacts ¶
type Contacts struct { backend.ContactsBackend // contains filtered or unexported fields }
func (*Contacts) DeleteContact ¶
func (*Contacts) InsertContact ¶
func (*Contacts) UpdateContact ¶
type Conversations ¶
type Conversations struct { backend.ConversationsBackend // contains filtered or unexported fields }
func (*Conversations) DeleteMessage ¶
func (b *Conversations) DeleteMessage(user, id string) error
func (*Conversations) InsertMessage ¶
func (*Conversations) UpdateMessage ¶
func (b *Conversations) UpdateMessage(user string, update *backend.MessageUpdate) (*backend.Message, error)
type Labels ¶
type Labels struct { backend.LabelsBackend // contains filtered or unexported fields }
func (*Labels) DeleteLabel ¶
func (*Labels) InsertLabel ¶
func (*Labels) UpdateLabel ¶
type Messages ¶
type Messages struct { backend.MessagesBackend // contains filtered or unexported fields }
func (*Messages) DeleteMessage ¶
func (*Messages) InsertMessage ¶
func (*Messages) UpdateMessage ¶
Click to show internal directories.
Click to hide internal directories.