Documentation ¶ Index ¶ type Client func NewClient(c *rexConfig.Config) *Client func (cli *Client) EasyNewRequest(ctx context.Context, svc string, relativePath string, method string, ...) ([]byte, error) func (cli *Client) NewRequest(ctx context.Context, svc string, url string, method string, ...) func() (*http.Response, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ added in v1.0.12 type Client struct { *http.Client // contains filtered or unexported fields } func NewClient ¶ added in v1.0.12 func NewClient(c *rexConfig.Config) *Client func (*Client) EasyNewRequest ¶ added in v1.0.12 func (cli *Client) EasyNewRequest(ctx context.Context, svc string, relativePath string, method string, sendBody interface{}) ([]byte, error) func (*Client) NewRequest ¶ added in v1.0.12 func (cli *Client) NewRequest( ctx context.Context, svc string, url string, method string, headers *map[string]string, sendBody interface{}) func() (*http.Response, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.