Documentation
¶
Overview ¶
Package activitylog handles the logging of user actions performed within the app for diagnostic and auditing purposes. The activity log records each page view and each api endpoint hit. The request data is saved but the response data is not (because we would need to write our own http response writer interface). Activity logging also works for public api calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clear ¶
func Clear(w http.ResponseWriter, r *http.Request)
Clear handles deleting rows from the activity log table. This is usually only done from the admin tools page to reduce the table size. The user provides a date up to which rows are deleted. The activity log table can get very large very fast so clearing old stuff from time to time can be helpful.
Types ¶
This section is empty.