dispatcher

package
v0.0.0-...-5560345 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayContains

func ArrayContains(haystack []string, needle string) bool

Types

type Handler

type Handler interface {
	Register(method, path string, handler request.Handler)
	UnRegister(method, path string, handler request.Handler) error
	RegisterFilter(name string, filterx filter.Filter)
	UnRegisterFilter(name string, filterx filter.Filter) error
	RegisterInterceptor(name string, interceptorx interceptor.Interceptor)
	UnRegisterInterceptor(name string, interceptorx interceptor.Interceptor) error

	Route(rctx *request.Context, ctx *fasthttp.RequestCtx) error
	// contains filtered or unexported methods
}

func NewHandler

func NewHandler() Handler

Jump to

Keyboard shortcuts

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