Documentation ¶
Index ¶
Constants ¶
View Source
const ( PathOnly matchType = iota HostOnly FullURL HostAndPath PathAndQuerystring )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mocker ¶
type Mocker struct { Requests []*http.Request MatchURL matchType // if false, only matches the path and if true, matches full url // contains filtered or unexported fields }
func (*Mocker) RegisterResponder ¶
Click to show internal directories.
Click to hide internal directories.