runtime

package
v0.0.0-...-9c7b1c4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func AllowUnknownFromContext

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

func HTTPMethodFromContext

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