Documentation ¶
Index ¶
- func AttachHealthHandler(m *http.ServeMux)
- func AttachStaticDirHandler(m *http.ServeMux, directory string, listable bool, cache string)
- func AttachStaticFSHandler(m *http.ServeMux, fs fs.FS, listable bool, cache string)
- func AttachStaticHTTPFSHandler(m *http.ServeMux, fs http.FileSystem, listable bool, cache string)
- func CacheControl(h http.Handler, cc string) http.Handler
- func Compress(h http.Handler) http.Handler
- func Header(h http.Handler, key, value string) http.Handler
- func Health() http.Handler
- func Log(h http.Handler) http.Handler
- func StaticDir(directory string, listable bool) http.Handler
- func StaticFS(filesystem http.FileSystem, listable bool) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachHealthHandler ¶
func AttachStaticDirHandler ¶
func AttachStaticFSHandler ¶
func AttachStaticHTTPFSHandler ¶ added in v1.2.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.