Initial euclide.org release
This commit is contained in:
15
vendor/github.com/jarcoal/httpmock/internal/route_key.go
generated
vendored
Normal file
15
vendor/github.com/jarcoal/httpmock/internal/route_key.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
package internal
|
||||
|
||||
type RouteKey struct {
|
||||
Method string
|
||||
URL string
|
||||
}
|
||||
|
||||
var NoResponder RouteKey
|
||||
|
||||
func (r RouteKey) String() string {
|
||||
if r == NoResponder {
|
||||
return "NO_RESPONDER"
|
||||
}
|
||||
return r.Method + " " + r.URL
|
||||
}
|
||||
Reference in New Issue
Block a user