Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDBHandler ¶
func CheckDBHandler(w http.ResponseWriter, r *http.Request)
CheckDBHandler handles a GET request to check if the database is alive. It returns a json response with the status of the database (up or down)
func ChoreHandler ¶
func ChoreHandler(w http.ResponseWriter, r *http.Request)
ChoreHandler handles a request to add, delete, or edit a chore.
func ChoresHandler ¶
func ChoresHandler(w http.ResponseWriter, r *http.Request)
ChoresHandler handles a GET request to retrieve all chores from the database
func SwaggerSpecHandler ¶
func SwaggerSpecHandler(w http.ResponseWriter, r *http.Request)
SwaggerSpecHandler handles a GET request to serve the swagger config file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.