Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Close()
- func (c *Client) CreateNote(ctx context.Context, passphrase []byte) (*Note, error)
- func (c *Client) GetNote(ctx context.Context, passphrase []byte) (*Note, error)
- func (c *Client) Health(ctx context.Context) error
- func (c *Client) UpdateNote(ctx context.Context, passphrase []byte, message string, version int) (*Note, error)
- type Note
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoteNotFound = errors.New("encrypted note not found") ErrNoteAlreadyExists = errors.New("encrypted note already exists") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.