Documentation ¶
Index ¶
- func DropCodeHandler(w http.ResponseWriter, r *http.Request)
- func DropNoteHandler(w http.ResponseWriter, r *http.Request)
- func Handle(e error)
- func IndexHandler(w http.ResponseWriter, r *http.Request)
- func LoginHandler(w http.ResponseWriter, r *http.Request)
- func LogoutHandler(w http.ResponseWriter, r *http.Request)
- func MeHandler(w http.ResponseWriter, r *http.Request)
- func MyActionsHandler(w http.ResponseWriter, r *http.Request)
- func MyNotesHandler(w http.ResponseWriter, r *http.Request)
- func MyUpdateHandler(w http.ResponseWriter, r *http.Request)
- func NoteActionsHandler(w http.ResponseWriter, r *http.Request)
- func NoteUpdateHandler(w http.ResponseWriter, r *http.Request)
- func QRHandler(w http.ResponseWriter, r *http.Request)
- func ResetHandler(w http.ResponseWriter, r *http.Request)
- func SignupHandler(w http.ResponseWriter, r *http.Request)
- type Data
- type Flash
- type Info
- type Page
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropCodeHandler ¶
func DropCodeHandler(w http.ResponseWriter, r *http.Request)
DropCodeHandler handles the "/dropcode" route.
func DropNoteHandler ¶
func DropNoteHandler(w http.ResponseWriter, r *http.Request)
DropNoteHandler handles the "/dropnote" route.
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, r *http.Request)
IndexHandler handles the "/", "/home", "/favicon.ico" and all undefined routes.
func LoginHandler ¶
func LoginHandler(w http.ResponseWriter, r *http.Request)
LoginHandler handles the "/login" route.
func LogoutHandler ¶
func LogoutHandler(w http.ResponseWriter, r *http.Request)
LogoutHandler handles the "/logout" route.
func MeHandler ¶
func MeHandler(w http.ResponseWriter, r *http.Request)
MeHandler handles the "/me" route.
func MyActionsHandler ¶
func MyActionsHandler(w http.ResponseWriter, r *http.Request)
MyActionsHandler handles the "/me/actions" route.
func MyNotesHandler ¶
func MyNotesHandler(w http.ResponseWriter, r *http.Request)
MyNotesHandler handles displaying details for one note
func MyUpdateHandler ¶
func MyUpdateHandler(w http.ResponseWriter, r *http.Request)
MyUpdateHandler handles the "/me/update" route.
func NoteActionsHandler ¶
func NoteActionsHandler(w http.ResponseWriter, r *http.Request)
NoteActionsHandler handles toggle and delete actions for notes
func NoteUpdateHandler ¶
func NoteUpdateHandler(w http.ResponseWriter, r *http.Request)
NoteUpdateHandler takes care of updating notes
func QRHandler ¶
func QRHandler(w http.ResponseWriter, r *http.Request)
QRHandler creates and serves QR Codes for notes
func ResetHandler ¶
func ResetHandler(w http.ResponseWriter, r *http.Request)
ResetHandler handles the "/reset" route.
func SignupHandler ¶
func SignupHandler(w http.ResponseWriter, r *http.Request)
SignupHandler handles the "/signup" route.