Documentation
¶
Index ¶
- type Client
- func (v *Client) Call(method, uri string, body []byte) (int, []byte, error)
- func (v *Client) CallPool(pool pool.PoolGetter, method, uri string, body []byte) (int, []byte, error)
- func (v *Client) Debug(is bool, w io.Writer)
- func (v *Client) WithAuth(s signature.SignGetter)
- func (v *Client) WithHeaders(heads http.Header)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
func (*Client) CallPool ¶
func (v *Client) CallPool(pool pool.PoolGetter, method, uri string, body []byte) (int, []byte, error)
CallPool make request to pool of server
func (*Client) WithHeaders ¶
WithHeaders setting headers
Click to show internal directories.
Click to hide internal directories.