Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileServer ¶
func FileServer(r chi.Router, path string, root http.FileSystem)
FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem. stolen from https://github.com/go-chi/chi/blob/master/_examples/fileserver/main.go
func NewAPIRouter ¶
func NewAuthRouter ¶
func NewDataRouter ¶
func NewHTTPRouter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.