Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ParseURLPath ¶
func ParseURLPath(requestUrl *url.URL, mc *MatchingContext)
Types ¶
type CaptureVar ¶
func (*CaptureVar) String ¶
func (cv *CaptureVar) String() string
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func NewMatcher ¶
func (*Matcher) AddPattern ¶
type MatchingContext ¶
type MatchingContext struct { R *http.Request PathSegments []UrlSegment // contains filtered or unexported fields }
func (*MatchingContext) Clone ¶
func (mc *MatchingContext) Clone() MatchingContext
func (*MatchingContext) PathVar ¶
func (mc *MatchingContext) PathVar(name string) string
type Pattern ¶
func (*Pattern) HighPriorityThan ¶
type UrlSegment ¶
type UrlSegment struct {
// contains filtered or unexported fields
}
func (*UrlSegment) Reset ¶
func (s *UrlSegment) Reset()
Click to show internal directories.
Click to hide internal directories.