runtime

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

View Source
const (
	HTTPMethodContextKey   = "http-method"
	AllowUnknownContextKey = "allow-unknown"
)

Variables

This section is empty.

Functions

func AllowUnknownFromContext added in v0.3.0

func AllowUnknownFromContext(ctx context.Context) (allowUnknown bool)

func HTTPMethodFromContext added in v0.2.0

func HTTPMethodFromContext(ctx context.Context) (method string)

func JoinPath

func JoinPath(path string, element string) string

func PatternMatch

func PatternMatch(pattern runtime.Pattern, path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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