| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package orangemoney |
||
| 2 | |||
| 3 | import "net/http" |
||
| 4 | |||
| 5 | type clientConfig struct { |
||
| 6 | httpClient *http.Client |
||
| 7 | username string |
||
| 8 | password string |
||
| 9 | baseURL string |
||
| 10 | authToken string |
||
| 11 | } |
||
| 12 | |||
| 13 | func defaultClientConfig() *clientConfig { |
||
| 14 | return &clientConfig{ |
||
| 15 | httpClient: http.DefaultClient, |
||
| 16 | username: "", |
||
| 17 | password: "", |
||
| 18 | authToken: "", |
||
| 19 | baseURL: "https://api-s1.orange.cm", |
||
| 20 | } |
||
| 22 |