| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package coinpayments |
||
| 2 | |||
| 3 | import "net/http" |
||
| 4 | |||
| 5 | type clientConfig struct { |
||
| 6 | httpClient *http.Client |
||
| 7 | version string |
||
| 8 | apiKey string |
||
| 9 | apiSecret string |
||
| 10 | ipnSecret string |
||
| 11 | baseURL string |
||
| 12 | } |
||
| 13 | |||
| 14 | func defaultClientConfig() *clientConfig { |
||
| 15 | return &clientConfig{ |
||
| 16 | httpClient: http.DefaultClient, |
||
| 17 | version: "1", |
||
| 18 | baseURL: "https://www.coinpayments.net/api.php", |
||
| 19 | } |
||
| 21 |