contacts

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) Contact

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

func (*Client) Delete

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

func (*Client) DeleteNote

func (c *Client) DeleteNote(id, noteId string) error

func (*Client) List

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

func (*Client) New

func (c *Client) New(contacts ...*models.ContactParams) error

func (*Client) NewNote

func (c *Client) NewNote(id, text string) error

func (*Client) Notes

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

func (*Client) Update

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

func (*Client) UpdateNote

func (c *Client) UpdateNote(id, noteId, text string) error

Jump to

Keyboard shortcuts

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