package
0.0.0-20190816125730-195a7bdea535
Repository: https://github.com/l3njo/dropnote-api.git
Documentation: pkg.go.dev

# Functions

AuthUser is the handler function for authorizing user login.
CreateNote is the handler function for adding a note to the database.
CreateUser is the handler function for adding a new account into the databsse.
DeleteUser is the handler function for removing a user from the database.
DeleteUserNote is the handler function for removing a note created by current user from the database.
ExecuteCode is the handler function for carrying out a token action.
GenerateCode is the handler function for creating a new reset token.
GetNote is the handler function for getting a note from the database.
GetNotes is the handler function for getting all notes from database.
GetUser is the handler funcion for getting a user fom the database.
GetUserNotes is the handler funcion for getting notes created by current user.
Handle deals with top-level errors.
ToggleUserNote is the handler function for togglling visibility for a note created by current user in the database.
UpdatePassword is the handler function for changing a user's password.
UpdateUser is the handler function for editing a user in the database.
UpdateUserNote is the handler function for editing a note created by current user in the database.

# Constants

UserKey is a constant context key.

# Variables

App is an instance of Application.

# Structs

Application is a copy of the app.App struct.