routes

package
v0.0.0-...-cdf4838 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBind

func AddBind(router *httprouter.Router, bind Bind)

func AddPredicate

func AddPredicate(router *httprouter.Router, predicate Predicate)

func AddPrioritize

func AddPrioritize(router *httprouter.Router, prioritize Prioritize)

func BindRoute

func BindRoute(bind Bind) httprouter.Handle

func DebugLogging

func DebugLogging(h httprouter.Handle, path string) httprouter.Handle

func PredicateRoute

func PredicateRoute(predicate Predicate) httprouter.Handle

func PrioritizeRoute

func PrioritizeRoute(prioritize Prioritize) httprouter.Handle

Types

type Bind

type Bind struct {
	Name    string
	Manager manager.Manager
}

func NewBind

func NewBind(name string, m manager.Manager) Bind

type Predicate

type Predicate struct {
	Name    string
	Manager manager.Manager
}

func NewPredicate

func NewPredicate(name string, m manager.Manager) Predicate

type Prioritize

type Prioritize struct {
	Name    string
	Manager manager.Manager
}

func NewPrioritize

func NewPrioritize(name string, m manager.Manager) Prioritize

func (Prioritize) Handler

Jump to

Keyboard shortcuts

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