Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { SetFunction(SendRequestFunction) Function() SendRequestFunction }
Manager interface allows the ability to set the override request.
type SendRequestFunction ¶
SendRequestFunction is a function that can execute a request.
func DebugRequestMakerGenerator ¶
func DebugRequestMakerGenerator(optionalExecutingFunction SendRequestFunction, client *http.Client, debug bool) SendRequestFunction
DebugRequestMakerGenerator generates a function that will if debug = true writes the http requests and responses to Standard out.
func ExtractSendRequestFunction ¶
func ExtractSendRequestFunction(val interface{}) SendRequestFunction
ExtractSendRequestFunction will get the SendRequestFunction if the val implements the requester.Manager interface
func StandardHTTPRequestMakerGenerator ¶
func StandardHTTPRequestMakerGenerator(client http.Client) SendRequestFunction
StandardHTTPRequestMakerGenerator generates a function that will excute an http request using the specified Client
Click to show internal directories.
Click to hide internal directories.