decorators

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decorate

func Decorate(route inter.Route, decorators []inter.RouteDecorator) inter.Route

Types

type ConstrainParameters

type ConstrainParameters struct{}

func (ConstrainParameters) Decorate

func (c ConstrainParameters) Decorate(route inter.Route) inter.Route

type OptionalParameter

type OptionalParameter struct{}

func (OptionalParameter) Decorate

func (o OptionalParameter) Decorate(route inter.Route) inter.Route

type UriPrefixSlash

type UriPrefixSlash struct{}

func (UriPrefixSlash) Decorate

func (o UriPrefixSlash) Decorate(route inter.Route) inter.Route

type UriSuffixSlash

type UriSuffixSlash struct{}

func (UriSuffixSlash) Decorate

func (o UriSuffixSlash) Decorate(route inter.Route) inter.Route

func (UriSuffixSlash) Revert

func (o UriSuffixSlash) Revert(route inter.Route) inter.Route

Revert decorator

Jump to

Keyboard shortcuts

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