# Functions
AddKey adds the given key to the key file of the given user.
Authenticate returns true iff the JWT specified in the HTTP requests' Bearer token was signed by the correct user.
AuthenticateWithKeySet returns true iff the JWT in the Bearer token can be validated in verified with a key in the given key set.
GetFreeUserID returns the smallest valid unused user id.
GetKeySet returns the key set of user with a given userId.
GetUsedUserIDs returns a map containing every user id with an existing file [user id]_keys in PublicKeyLocation directory.
HandleSyncRequest receives sync requests and starts the sync process with the received data.
ReadKey reads the key from a file.
SolveConflict merges overlapping intervals of given user.
Sync updates the stored state in passed storage.Storage for the user issuing the sync request.
UniteTagsAndAnnotation computes the new tags and annotation for overlapping intervals and returns tags, annotation.
# Variables
No description provided by the author
# Structs
An ErrorResponseBody represents a JSON message that is sent to the client when an error occurs.