Documentation ¶
Index ¶
- func Hook(h mchain.Handler) mchain.Middleware
- func Mount(prefix string, h mchain.Handler) mchain.Middleware
- func MountFunc(prefix string, h mchain.HandlerFunc) mchain.Middleware
- func MountFuncRedirectToSlashed(prefix string, h mchain.HandlerFunc) mchain.Middleware
- func MountRedirectToSlashed(prefix string, h mchain.Handler) mchain.Middleware
- func OnPrefix(prefix string, h mchain.Handler) mchain.Middleware
- func OnPrefixFunc(prefix string, h mchain.HandlerFunc) mchain.Middleware
- func Run(h mchain.Handler) mchain.Middleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MountFunc ¶
func MountFunc(prefix string, h mchain.HandlerFunc) mchain.Middleware
func MountFuncRedirectToSlashed ¶
func MountFuncRedirectToSlashed(prefix string, h mchain.HandlerFunc) mchain.Middleware
func MountRedirectToSlashed ¶
func MountRedirectToSlashed(prefix string, h mchain.Handler) mchain.Middleware
func OnPrefixFunc ¶
func OnPrefixFunc(prefix string, h mchain.HandlerFunc) mchain.Middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.