Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Config ¶
type Config struct { ParamChar byte WildcardChar byte Separators string ParamTransformer ParamTransformer New func() Store }
type Context ¶
type Context interface { context.Context Param(key string) string ParamOk(key string) (string, bool) AddParam(key, value string) Remove(key string) Reset() SearchHistory() []string }
Context implements context.Context and stores values of url parameters
func C ¶
C returns a Context based on a context.Context passed. If it does not convert to Context, it creates a new one with the context passed as argument.
func NewContextWithParent ¶
NewContextWithParent creates a new context with a parent context specified
type Matcher ¶
type ParamTransformer ¶
Click to show internal directories.
Click to hide internal directories.