wraphandler

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitHandlerWrappers

func InitHandlerWrappers(mi initializer.MiddlewareInitializer, isIPv6 bool) (hw.HandlerWrappers, error)

func WrapHandler

func WrapHandler(coreHandler http.Handler, wrappers hw.HandlerWrappers) (http.Handler, error)

WrapHandler wraps the coreHandler with all of registered middleware and middleware will be initialized before wrap.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL