Documentation ¶
Index ¶
- func InitPool(size int)
- type Handler
- func (h *Handler) Fs(fs fs.FS, trys ...string) *Handler
- func (h *Handler) HTTPFs(fs http.FileSystem, trys ...string) *Handler
- func (h *Handler) NotFound(notFound http.Handler) *Handler
- func (h *Handler) RMod(rMod func(*http.Request) *http.Request) *Handler
- func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Strip(prefix string) *Handler
- func (h *Handler) Strips(suffix string) *Handler
- func (h *Handler) Try(trys ...string) *Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.