Directories
¶
| Path | Synopsis |
|---|---|
|
Package controller loads the routes for each of the controllers.
|
Package controller loads the routes for each of the controllers. |
|
about
Package about displays the About page.
|
Package about displays the About page. |
|
debug
Package debug provides access to pprof.
|
Package debug provides access to pprof. |
|
home
Package home displays the Home page.
|
Package home displays the Home page. |
|
login
Package login handles the user login.
|
Package login handles the user login. |
|
notepad
Package notepad provides a simple CRUD application in a web page.
|
Package notepad provides a simple CRUD application in a web page. |
|
register
Package register handles the user creation.
|
Package register handles the user creation. |
|
static
Package static serves static files like CSS, JavaScript, and images.
|
Package static serves static files like CSS, JavaScript, and images. |
|
status
Package status provides all the error pages like 404, 405, 500, 501, and the page when a CSRF token is invalid.
|
Package status provides all the error pages like 404, 405, 500, 501, and the page when a CSRF token is invalid. |
|
lib
|
|
|
boot
Package boot handles the initialization of the web components.
|
Package boot handles the initialization of the web components. |
|
env
Package env reads the application settings.
|
Package env reads the application settings. |
|
flight
Package flight provides access to the application settings safely.
|
Package flight provides access to the application settings safely. |
|
middleware
|
|
|
acl
Package acl provides http.Handlers to prevent access to pages for authenticated users and for non-authenticated users.
|
Package acl provides http.Handlers to prevent access to pages for authenticated users and for non-authenticated users. |
|
logrequest
Package logrequest provides an http.Handler that logs when a request is made to the application and lists the remote address, the HTTP method, and the URL.
|
Package logrequest provides an http.Handler that logs when a request is made to the application and lists the remote address, the HTTP method, and the URL. |
|
rest
Package rest allows changing the HTTP method via a query string.
|
Package rest allows changing the HTTP method via a query string. |
|
model
|
|
|
note
Package note provides access to the note table in the MySQL database.
|
Package note provides access to the note table in the MySQL database. |
|
user
Package user provides access to the user table in the MySQL database.
|
Package user provides access to the user table in the MySQL database. |
|
userstatus
Package userstatus provides access to the user_status table in the MySQL database.
|
Package userstatus provides access to the user_status table in the MySQL database. |
|
viewfunc
|
|
|
link
Package link provides a funcmap for html/template to generate a hyperlink.
|
Package link provides a funcmap for html/template to generate a hyperlink. |
|
noescape
Package noescape provides a funcmap for html/template to prevent escaping a string.
|
Package noescape provides a funcmap for html/template to prevent escaping a string. |
|
prettytime
Package prettytime provides a funcmap for html/template that displays time using an easy to read format.
|
Package prettytime provides a funcmap for html/template that displays time using an easy to read format. |
|
viewmodify
|
|
|
authlevel
Package authlevel adds an AuthLevel variable to the view template.
|
Package authlevel adds an AuthLevel variable to the view template. |
|
flash
Package flash adds the flashes to the view template.
|
Package flash adds the flashes to the view template. |
|
uri
Package uri adds URI shortcuts to the view template.
|
Package uri adds URI shortcuts to the view template. |
Click to show internal directories.
Click to hide internal directories.