aboutsummaryrefslogtreecommitdiffstats
path: root/gosrc/structs.go
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-04-17 20:06:17 +0200
committersalaaad2 <arthurdurant263@gmail.com>2022-04-17 20:06:17 +0200
commitb3b1138709abbcf93ccdfbff72f09bb88b8b817f (patch)
treedf0682846f41758c4fece85a80229422a67a3aa1 /gosrc/structs.go
parentsmith is cool (diff)
downloadsmith-b3b1138709abbcf93ccdfbff72f09bb88b8b817f.tar.gz
smith-b3b1138709abbcf93ccdfbff72f09bb88b8b817f.tar.bz2
smith-b3b1138709abbcf93ccdfbff72f09bb88b8b817f.tar.xz
smith-b3b1138709abbcf93ccdfbff72f09bb88b8b817f.tar.zst
smith-b3b1138709abbcf93ccdfbff72f09bb88b8b817f.zip
refactor, readme, gui hooks, and more
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",
+}