package
0.0.0-20240618122647-caea5ba97000
Repository: https://github.com/mbrukman/notebook.git
Documentation: pkg.go.dev
# Functions
NewApiHandler instantiates a new API handler object from provided web directory and an implementation of the database API.
# Structs
ApiHandler provides the environment for running an API server, including the directory holding web resources and a database implementation.
CreateNoteRequest is the request type of the CreateNote RPC.
CreateNoteResponse is the response type of the CreateNote RPC.
ErrorResponse is a generic error response which may be used in several RPCs.
ListNotesResponse is the response type of the ListNotes RPC.
Note represents a singular note.