We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a045e25 + 67ccdda commit ca4efc5Copy full SHA for ca4efc5
store.go
@@ -47,7 +47,7 @@ type StoreConfig struct {
47
48
type StoreClient struct {
49
Token *Token
50
- httpCli *http.Client
+ httpCli HTTPClient
51
cert *Cert
52
hostUrl string
53
}
@@ -73,7 +73,7 @@ func NewStoreClient(config *StoreConfig) *StoreClient {
73
74
75
// NewStoreClientWithHTTPClient creates a appstore server api client with a custom http client.
76
-func NewStoreClientWithHTTPClient(config *StoreConfig, httpClient *http.Client) *StoreClient {
+func NewStoreClientWithHTTPClient(config *StoreConfig, httpClient HTTPClient) *StoreClient {
77
token := &Token{}
78
token.WithConfig(config)
79
hostUrl := HostProduction
0 commit comments