Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the minimum interface needed to intercept requests for a http.Client obj Specially good fit with structs wrapping http.Client
type Stub ¶
type Stub struct { URL string Status int Body interface{} Config StubConfig Receive Receive }
Stub is any single request stub
type StubConfig ¶ added in v0.3.1
type StubConfig struct {
DontAssertReceive bool
}
type Stubber ¶
type Stubber struct { Stubs []*Stub Client Client Config StubberConfig }
type StubberConfig ¶ added in v0.3.1
type StubberConfig struct {
DontAssertUnstubbed bool
}
Click to show internal directories.
Click to hide internal directories.