internal

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckStackTracer

func CheckStackTracer(req *http.Request, err error) error

CheckStackTracer checks for specific error returned by NewNotFoundResponder function or Trace Responder method.

func GetSubmatches

func GetSubmatches(req *http.Request) []string

func SetSubmatches

func SetSubmatches(req *http.Request, submatches []string) *http.Request

Types

type RouteKey

type RouteKey struct {
	Method string
	URL    string
}
var NoResponder RouteKey

func (RouteKey) String

func (r RouteKey) String() string

type StackTracer

type StackTracer struct {
	CustomFn func(...interface{})
	Err      error
}

func (StackTracer) Error

func (n StackTracer) Error() string

Jump to

Keyboard shortcuts

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