Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) DeleteNote(id int) error
- func (c *Client) GetNoteByID(id int) (*notes.Note, error)
- func (c *Client) GetNoteByTitle(title string) (*notes.Note, error)
- func (c *Client) InsertNote(n notes.Note) (int, error)
- func (c *Client) ListNotes() ([]notes.Note, error)
- func (c *Client) Ping() error
- func (c *Client) UpdateNote(id int, note notes.Note) (int64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDeleteFailed = errors.New("delete failed")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteNote ¶
func (*Client) GetNoteByID ¶ added in v0.0.7
func (*Client) GetNoteByTitle ¶ added in v0.0.7
Click to show internal directories.
Click to hide internal directories.