Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PathMatchTypeExact indicates the router will map the Path by exact match against incoming requests PathMatchTypeExact = PathMatchType(iota) // PathMatchTypePrefix indicates the router will map the Path by prefix against incoming requests PathMatchTypePrefix )
Variables ¶
View Source
var Names = map[string]PathMatchType{ "exact": PathMatchTypeExact, "prefix": PathMatchTypePrefix, }
Names is a map of PathMatchTypes keyed by string name
View Source
var Values = make(map[PathMatchType]string)
Values is a map of PathMatchTypes valued by string name
Functions ¶
This section is empty.
Types ¶
type PathMatchType ¶
type PathMatchType int
PathMatchType enumerates the types of Path Matches used when registering Paths with the Router
func (PathMatchType) String ¶
func (t PathMatchType) String() string
Click to show internal directories.
Click to hide internal directories.