handlers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: GPL-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 Handler

type Handler interface {
	Handle(req *http.HttpRequest) (*http.HttpResponse, error)
}

type HandlerTemplate

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

func NewHandlerTemplate

func NewHandlerTemplate(h Handler) *HandlerTemplate

func (*HandlerTemplate) Process

func (bh *HandlerTemplate) Process(req *http.HttpRequest) (*http.HttpResponse, error)

Jump to

Keyboard shortcuts

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