Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomRoute ¶ added in v0.12.1
type NestSection ¶ added in v0.18.0
type NestSection int
const ( NestHome NestSection = iota NestSettings NestEdit )
type PathCrossA ¶
type PathCrossA struct {
Path bool `path:"/cross-a"`
}
type PathCrossB ¶
type PathCrossB struct {
Path bool `path:"/cross-b"`
}
type PathEscaped ¶
type PathNest ¶ added in v0.18.0
type PathNest struct {
Section NestSection `/nest:" | settings/:Tab | edit"`
Tab string
Q string `query:"q,omitempty"`
}
type PathReplace ¶ added in v0.14.2
type PathReplace struct {
Step ReplaceStep `/:"rep-a | rep-b | rep-c"`
}
type ReplaceStep ¶ added in v0.14.2
type ReplaceStep int
const ( ReplaceA ReplaceStep = iota ReplaceB ReplaceC )
Click to show internal directories.
Click to hide internal directories.