package
0.6.2
Repository: https://github.com/dnote-io/cli.git
Documentation: pkg.go.dev

# Functions

CreateBook creates a new book in the server.
CreateNote creates a note in the server.
DeleteBook deletes a book in the server.
DeleteNote removes a note in the server.
GetBooks gets books from the server.
GetPresignin gets presignin credentials.
GetSyncFragment gets a sync fragment response from the server.
GetSyncState gets the sync state response from the server.
Signin requests a session token.
Signout deletes a user session on the server side.
UpdateBook updates a book in the server.
UpdateNote updates a note in the server.

# Variables

ErrInvalidLogin is an error for invalid credentials for login.

# Structs

CreateBookPayload is a payload for creating a book.
CreateBookResp is the response from create book api.
CreateNotePayload is a payload for creating a note.
CreateNoteResp is the response from create note endpoint.
DeleteBookResp is the response from create book api.
DeleteNoteResp is the response from remove note api.
GetSyncFragmentResp is the response from the get sync fragment endpoint.
GetSyncStateResp is the response get sync state endpoint.
PresigninResponse is a reponse from /v1/presignin endpoint.
RespBook is the book in the response from the create book api.
RespNote is a note in the response.
SigninPayload is a payload for /v1/signin.
SigninResponse is a response from /v1/signin endpoint.
SyncFragBook represents a book in a sync fragment and contains only the necessary information for the client to sync the note locally.
SyncFragment contains a piece of information about the server's state.
SyncFragNote represents a note in a sync fragment and contains only the necessary information for the client to sync the note locally.
UpdateBookResp is the response from create book api.
UpdateNoteResp is the response from create book api.

# Type aliases

GetBooksResp is a response from get books endpoint.