| 1 | package goji |
| 2 | |
| 3 | // httpMethods is an internal interface for the HTTPMethods pattern |
| 4 | // optimization. See the documentation on Pattern for more. |
| 5 | type httpMethods interface { |
| 6 | HTTPMethods() map[string]struct{} |
| 7 | } |
| 8 | |
| 9 | // pathPrefix is an internal interface for the PathPrefix pattern optimization. |
| 10 | // See the documentation on Pattern for more. |
| 11 | type pathPrefix interface { |
| 12 | PathPrefix() string |
| 13 | } |