contactgroups

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*client.Client
}

func New

func New(c *client.Client) *Client

func (*Client) AddContact

func (c *Client) AddContact(id string, params *models.ContactParams) (*models.Contact, error)

func (*Client) Contacts

func (c *Client) Contacts(id string) (*models.Contacts, error)

func (*Client) Delete

func (c *Client) Delete(id string) error

func (*Client) DeleteContact

func (c *Client) DeleteContact(id, contactID string) error

func (*Client) Get

func (c *Client) Get(id string) (*models.ContactGroup, error)

func (*Client) List

func (c *Client) List() (*models.ContactGroups, error)

func (*Client) New

func (c *Client) New(name string, contacts []*models.Contact) (*models.ContactGroup, error)

func (*Client) Update

func (c *Client) Update(id, name string) (*models.ContactGroup, error)

Jump to

Keyboard shortcuts

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