Documentation
¶
Index ¶
Constants ¶
View Source
const ( GetMethod = "GET" MaxRequestTimeout = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
//
// SendRequest dispatches a receivedRequest based on the integration spec.
//
SendRequest() (*Response, error)
//
// SetClient change the internal http client.
//
SetClient(client ClientImpl)
}
type ClientImpl ¶
ClientImpl provides an interface for a specific implementation.
Added for convenience to create a mock implementation.
Click to show internal directories.
Click to hide internal directories.