handler

package
Version: v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachHealthHandler

func AttachHealthHandler(m *http.ServeMux)

func AttachStaticDirHandler

func AttachStaticDirHandler(m *http.ServeMux, directory string, listable bool)

func AttachStaticFSHandler

func AttachStaticFSHandler(m *http.ServeMux, fs fs.FS, listable bool)

func AttachStaticHTTPFSHandler added in v1.2.6

func AttachStaticHTTPFSHandler(m *http.ServeMux, fs http.FileSystem, listable bool)

func Health

func Health() http.Handler

func Log

func Log(h http.Handler) http.Handler

func StaticDir

func StaticDir(directory string, listable bool) http.Handler

func StaticFS added in v1.2.6

func StaticFS(filesystem http.FileSystem, listable bool) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL