handler

package
v0.0.0-...-4c2046d Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 3 Imported by: 3

Documentation

Overview

Package handler GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithPathValueGetter

func ContextWithPathValueGetter(ctx context.Context, p PathValueGetter) context.Context

Types

type Middleware

type Middleware = func(http.Handler) http.Handler

func ApplyMiddlewares

func ApplyMiddlewares(mw ...Middleware) Middleware

type Params

type Params map[string]string

func (Params) PathValue

func (d Params) PathValue(k string) string

func (Params) RuntimeDoc

func (Params) RuntimeDoc(names ...string) ([]string, bool)

type PathValueGetter

type PathValueGetter = httprequest.PathValueGetter

func PathValueGetterFromContext

func PathValueGetterFromContext(ctx context.Context) PathValueGetter

Directories

Path Synopsis
Package httprouter GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package httprouter GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Jump to

Keyboard shortcuts

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