package
Version:
v1.3.1
Opens a new window with list of versions in this module.
Published: Dec 4, 2018
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package web contains HTTP handlers methods.
There are 2 URLs:
1. "/" - GET and POST
2. "/<hash>" - GET and POST
Error sets error page. It returns code value.
Index is a base HTTP handler. POST createData creates new item.
Return value is HTTP status code.
Read returns a page with decrypted user's data.
CheckPassword is data for failed password check.
ErrorData is a struct for error handling.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.