Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handlers ¶
func Handlers(ctx context.Context, mux *http.ServeMux, dbPath string) map[string]func(w http.ResponseWriter, r *http.Request)
Handlers are all the handler functions, returns a map of funcs
- do it this way so multiple routes can share functions and the handler can then get some of the vars set in the scope of this function (like query params etc)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.