blob: 3f2fa74b68eac6908a9215389df545c517810137 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// SMITH ( // /
// structs ( )/ /
// by salade )(/ /
// ________________ ( /) /
// ()__)____________))))) :^} /
package main
// config.json content
type Config struct {
Public_key string
Secret_key string
Mirror string
}
// urls to hit on mirror
type Targets struct {
getall string
address string
status string
snapshot string
null string
}
var GET_Targets = Targets {
getall: "/sapi/v1/capital/config/getall",
address: "/sapi/v1/capital/deposit/address",
status: "/sapi/v1/account/status",
snapshot: "/sapi/v1/accountSnapshot",
null: "/null",
}
var POST_Targets = Targets {
getall: "/null",
address: "/null",
status: "/null",
snapshot: "/null",
null: "/null",
}
|