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