Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugRequest ¶
func DebugResponse ¶
func RegisterClient ¶
func RegisterClient(client Client)
Types ¶
type Client ¶
Client provides the RequestBuilder with a configured http.Client object. In addition to a http.Client, RequestBuilder can also utilize relative API URLs when the base URL is present. Debugging requests and responses can be made possible by enabling the Debug mode to true.
type ClientManager ¶
type ClientManager struct {
// contains filtered or unexported fields
}
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
func (*DefaultClient) BaseURL ¶
func (c *DefaultClient) BaseURL() string
func (*DefaultClient) Debug ¶
func (c *DefaultClient) Debug() bool
func (*DefaultClient) HttpClient ¶
func (c *DefaultClient) HttpClient() *http.Client
Click to show internal directories.
Click to hide internal directories.