Documentation
¶
Index ¶
- type Client
- func (c *Client) GetBytesErr(ctx context.Context, url string, data ...interface{}) ([]byte, error)
- func (c *Client) GetContentErr(ctx context.Context, url string, data ...interface{}) (string, error)
- func (c *Client) PostBytesErr(ctx context.Context, url string, data ...interface{}) ([]byte, error)
- func (c *Client) PostContentErr(ctx context.Context, url string, data ...interface{}) (string, error)
- func (c *Client) RequestBytesErr(ctx context.Context, method string, url string, data ...interface{}) ([]byte, error)
- func (c *Client) RequestContentErr(ctx context.Context, method string, url string, data ...interface{}) (string, error)
- func (c *Client) SetErrorFn(errorFn func(ctx context.Context, format string, v ...interface{})) *Client
- func (c *Client) SetErrorLogger(logger *glog.Logger) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetBytesErr ¶ added in v0.2.0
func (*Client) GetContentErr ¶ added in v0.2.0
func (*Client) PostBytesErr ¶ added in v0.2.0
func (*Client) PostContentErr ¶ added in v0.2.0
func (*Client) RequestBytesErr ¶ added in v0.2.0
func (*Client) RequestContentErr ¶ added in v0.2.0
func (*Client) SetErrorFn ¶
Click to show internal directories.
Click to hide internal directories.