...

Source file src/github.com/jarcoal/httpmock/internal/route_key.go

Documentation: github.com/jarcoal/httpmock/internal

     1  package internal
     2  
     3  type RouteKey struct {
     4  	Method string
     5  	URL    string
     6  }
     7  
     8  var NoResponder RouteKey
     9  
    10  func (r RouteKey) String() string {
    11  	if r == NoResponder {
    12  		return "NO_RESPONDER"
    13  	}
    14  	return r.Method + " " + r.URL
    15  }
    16  

View as plain text