package
0.0.0-20211116210406-19bbfc4851ad
Repository: https://github.com/tacusci/berrycms.git
Documentation: pkg.go.dev
# Functions
ClearOldSessions start checking every 10 seconds for existing sessions older than 20 minutes.
Error writes HTTP error message to web response and add error message to log.
GetDefaultHandlers get fixed list of all default handlers.
Render uses plush rendering engine to read page content from the DB and create HTML content.
RenderDefault uses plush rendering engine to take default page template and create HTML content.
RenderStr uses plush rendering engine to read page content from the DB and create HTML content as string.
UnixToTimeString take unix time and convert to string of to European time format.
No description provided by the author
# Structs
No description provided by the author
AdminHandler handler to contain pointer to core router and the URI string.
AdminPagesDeleteHandler handler to contain pointer to core router and the URI string.
AdminPagesEditHandler contains response functions for pages admin page.
AdminPagesHandler handler to contain pointer to core router and the URI string.
AdminPagesNewHandler handler to contain pointer to core router and the URI string.
AdminUserGroupsDeleteHandler handler to contain pointer to core router and the URI string.
AdminUserGroupsEditAddHandler contains response functions for pages admin page.
No description provided by the author
AdminUserGroupsEditRemoveHandler contains response functions for pages admin page.
No description provided by the author
AdminUserGroupsNewHandler handler to contain pointer to core router and the URI string.
AdminUsersDeleteHandler handler to contain pointer to core router and the URI string.
AdminUsersHandler handler to contain pointer to core router and the URI string.
AdminUsersNewHandler handler to contain pointer to core router and the URI string.
AuthMiddleware authentication struct with auth helper functions.
LoginHandler handler to contain pointer to core router and the URI string.
LogoutHandler handler to contain pointer to core router and the URI string.
MutableRouter is a mutex lock for the mux router.
No description provided by the author
SavedPageHandler handler to contain pointer to core router and the URI string.
No description provided by the author
# Interfaces
Handler root interface describing handler structure.