httputils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher struct {
	// contains filtered or unexported fields
}

func NewDispatcher

func NewDispatcher(opts *DispatcherOpts) *Dispatcher

func (*Dispatcher) Handle

func (d *Dispatcher) Handle(ctx *fasthttp.RequestCtx)

func (*Dispatcher) HandleFunc

func (d *Dispatcher) HandleFunc(method string, handler fasthttp.RequestHandler, verbose bool)

type DispatcherOpts

type DispatcherOpts struct {
	NotFoundHandler fasthttp.RequestHandler
}

Jump to

Keyboard shortcuts

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