Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicCors ¶
BasicCors returns the default cors options suggested in https://github.com/go-chi/cors
func ChiFileServer ¶
func ChiFileServer(r chi.Router, path string, root http.FileSystem)
ChiFileServer is the fileserver snippet from awesome https://github.com/go-chi/chi
func CreateHTTPServer ¶
CreateHTTPServer creates a http server, based on the recommendations from https://blog.cloudflare.com/exposing-go-on-the-internet/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.