Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchesURI ¶
func MatchesURIMethod ¶ added in v1.5.0
Types ¶
type URIMatcher ¶
type URIMatcher struct {
// contains filtered or unexported fields
}
URIMatcher for use with gomock for http requests
func (*URIMatcher) Matches ¶
func (u *URIMatcher) Matches(x interface{}) bool
func (*URIMatcher) String ¶
func (u *URIMatcher) String() string
type URIMethodMatcher ¶ added in v1.5.0
type URIMethodMatcher struct {
// contains filtered or unexported fields
}
URIMethodMatcher for use with gomock for http requests matches both the path and the method for and http request
func (*URIMethodMatcher) Matches ¶ added in v1.5.0
func (u *URIMethodMatcher) Matches(x interface{}) bool
func (*URIMethodMatcher) String ¶ added in v1.5.0
func (u *URIMethodMatcher) String() string
Click to show internal directories.
Click to hide internal directories.