mid

package
v0.0.0-...-dc85c0f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chain

func Chain(a *app.App, handler ReqFunc, handlerName string) func(http.ResponseWriter, *http.Request)

Types

type ReqFunc

type ReqFunc func(*Request) error

type Request

type Request struct {
	App        *app.App
	Req        *http.Request
	ReqProto   string
	ReqHeaders http.Header
	ReqQuery   url.Values
	ReqIP      string
	Endpoint   string
	Writer     http.ResponseWriter
}

Jump to

Keyboard shortcuts

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