helioschi

package module
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RouteCtxKey = origin_chi.RouteCtxKey

Functions

func RegisterMethod

func RegisterMethod(method string)

func URLParam

func URLParam(r *http.Request, key string) string

func URLParamFromCtx

func URLParamFromCtx(ctx context.Context, key string) string

func Walk

func Walk(r Routes, walkFn WalkFunc) error

Types

type ChainHandler

type ChainHandler = origin_chi.ChainHandler

type Context

type Context = origin_chi.Context

func NewRouteContext

func NewRouteContext() *Context

func RouteContext

func RouteContext(ctx context.Context) *Context

type Middlewares

type Middlewares = origin_chi.Middlewares

func Chain

func Chain(middlewares ...func(http.Handler) http.Handler) Middlewares

type Mux

type Mux = origin_chi.Mux

func NewMux

func NewMux() *Mux

func NewRouter

func NewRouter() *Mux

type Route

type Route = origin_chi.Route

type RouteParams

type RouteParams = origin_chi.RouteParams

type Router

type Router = origin_chi.Router

type Routes

type Routes = origin_chi.Routes

type WalkFunc

type WalkFunc = origin_chi.WalkFunc

Jump to

Keyboard shortcuts

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