Lines Matching defs:pattern
19 type pattern struct { struct
20 str string // original string
21 method string
22 host string
33 segments []segment
34 loc string // source location of registering call, for helpful messages
37 func (p *pattern) String() string { return p.str }
39 func (p *pattern) lastSegment() segment {
232 func (p1 *pattern) conflictsWith(p2 *pattern) bool {
243 func (p1 *pattern) comparePathsAndMethods(p2 *pattern) relationship {
260 func (p1 *pattern) compareMethods(p2 *pattern) relationship {
283 func (p1 *pattern) comparePaths(p2 *pattern) relationship {
406 func describeConflict(p1, p2 *pattern) string {
448 func commonPath(p1, p2 *pattern) string {
468 func differencePath(p1, p2 *pattern) string {