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