events

package
v0.0.0-...-321511a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2018 License: MIT Imports: 1 Imported by: 3

Documentation

Overview

Provides backends to trigger events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Addresses

type Addresses struct {
	backend.AddressesBackend
	// contains filtered or unexported fields
}

func (*Addresses) DeleteAddress

func (b *Addresses) DeleteAddress(user, id string) (err error)

func (*Addresses) InsertAddress

func (b *Addresses) InsertAddress(user string, addr *backend.Address) (inserted *backend.Address, err error)

func (*Addresses) UpdateAddress

func (b *Addresses) UpdateAddress(user string, update *backend.AddressUpdate) (updated *backend.Address, err error)

type Contacts

type Contacts struct {
	backend.ContactsBackend
	// contains filtered or unexported fields
}

func (*Contacts) DeleteContact

func (b *Contacts) DeleteContact(user, id string) error

func (*Contacts) InsertContact

func (b *Contacts) InsertContact(user string, contact *backend.Contact) (*backend.Contact, error)

func (*Contacts) UpdateContact

func (b *Contacts) UpdateContact(user string, update *backend.ContactUpdate) (*backend.Contact, error)

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 (b *Conversations) InsertMessage(user string, msg *backend.Message) (*backend.Message, error)

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 (b *Labels) DeleteLabel(user, id string) error

func (*Labels) InsertLabel

func (b *Labels) InsertLabel(user string, label *backend.Label) (*backend.Label, error)

func (*Labels) UpdateLabel

func (b *Labels) UpdateLabel(user string, update *backend.LabelUpdate) (*backend.Label, error)

type Messages

type Messages struct {
	backend.MessagesBackend
	// contains filtered or unexported fields
}

func (*Messages) DeleteMessage

func (b *Messages) DeleteMessage(user, id string) error

func (*Messages) InsertMessage

func (b *Messages) InsertMessage(user string, msg *backend.Message) (*backend.Message, error)

func (*Messages) UpdateMessage

func (b *Messages) UpdateMessage(user string, update *backend.MessageUpdate) (*backend.Message, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL