Versions in this module Expand all Collapse all v0 v0.0.17 Aug 5, 2020 Changes in this version + const ClientVersion + var DefaultConfig = Config + func Bool(v bool) *bool + func BoolSlice(v []bool) []*bool + func BoolValue(v *bool) bool + func Float64(v float64) *float64 + func Float64Slice(v []float64) []*float64 + func Float64Value(v *float64) float64 + func NewIdempotencyKey() string + func String(v string) *string + func StringSlice(v []string) []*string + func StringValue(v *string) string + type Config struct + CancellationToken string + IdempotencyKey *string + PublicKey string + SecretKey string + URI string + func Create(secretKey string, useSandbox bool, publicKey *string, idempotencyKey *string) (*Config, error) + type HTTPClient interface + Delete func(param string) (*StatusResponse, error) + Download func(path string) (*StatusResponse, error) + Get func(param string) (*StatusResponse, error) + Patch func(param string, request interface{}) (*StatusResponse, error) + Post func(param string, request interface{}) (*StatusResponse, error) + Put func(param string, request interface{}) (*StatusResponse, error) + Upload func(param, boundary string, body *bytes.Buffer) (*StatusResponse, error) + type Headers struct + CKORequestID *string + CKOVersion *string + type StatusResponse struct + Headers *Headers + ResponseBody []byte + ResponseCSV [][]string + Status string + StatusCode int