Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
InitHandler godoc @Summary Initialize the database @Tags Admin @Success 204 @Failure 400 {object} handler.HTTPError @Failure 500 {object} handler.HTTPError @Router /admin/init [post]
func ResetHandler ¶
ResetHandler godoc @Summary Reset the database @Description This will drop all tables and recreate them. @Tags Admin @Success 204 @Failure 400 {object} handler.HTTPError @Failure 500 {object} handler.HTTPError @Router /admin/reset [post]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.