orangemoney.defaultClientConfig   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
nop 0
dl 0
loc 7
rs 10
c 0
b 0
f 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
	}
21
}
22