Versions in this module Expand all Collapse all v0 v0.0.25 Nov 28, 2022 v0.0.24 Nov 28, 2022 Changes in this version + type HTTPClient struct + HTTPClient *http.Client + LeveledLogger checkout.LeveledLoggerInterface + MaxNetworkRetries int64 + PublicKey string + SecretKey string + URI string + func GetClient() *HTTPClient + func NewClient(config checkout.Config) *HTTPClient + func (c *HTTPClient) Delete(path string) (*checkout.StatusResponse, error) + func (c *HTTPClient) Download(path string) (resp *checkout.StatusResponse, err error) + func (c *HTTPClient) Get(path string) (*checkout.StatusResponse, error) + func (c *HTTPClient) NewRequest(method, path string, body interface{}) (*http.Request, error) + func (c *HTTPClient) Patch(path string, body interface{}) (*checkout.StatusResponse, error) + func (c *HTTPClient) Post(path string, body interface{}, params *checkout.Params) (*checkout.StatusResponse, error) + func (c *HTTPClient) Put(path string, body interface{}) (*checkout.StatusResponse, error) + func (c *HTTPClient) Upload(path string, boundary string, body *bytes.Buffer) (resp *checkout.StatusResponse, err error)