aboutsummaryrefslogtreecommitdiffstats
path: root/gosrc/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'gosrc/structs.go')
-rw-r--r--gosrc/structs.go13
1 files changed, 12 insertions, 1 deletions
diff --git a/gosrc/structs.go b/gosrc/structs.go
index ec0d285..3f2fa74 100644
--- a/gosrc/structs.go
+++ b/gosrc/structs.go
@@ -16,13 +16,24 @@ type Config struct {
// urls to hit on mirror
type Targets struct {
getall string
+ address string
status string
+ snapshot string
null string
}
-var Endpoints = Targets {
+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",
+}