handler

package
v0.0.0-...-0bd2313 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context = context.Context

type HandleFunc

type HandleFunc func(*Context) error

type Handler

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

func New

func New(dx handlerDependencies) *Handler

func (*Handler) HandlersCount

func (h *Handler) HandlersCount() uint32

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(rw http.ResponseWriter, r *http.Request)

func (*Handler) TemplatesCount

func (h *Handler) TemplatesCount() uint32

type Map

type Map = context.Map

type Middleware

type Middleware func(HandleFunc) HandleFunc

Jump to

Keyboard shortcuts

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