pdns-auth-proxy/vendor/github.com/jarcoal/httpmock/internal/route_key.go

16 lines
219 B
Go
Raw Normal View History

2023-11-17 05:55:06 +00:00
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
}