From b3b1138709abbcf93ccdfbff72f09bb88b8b817f Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Sun, 17 Apr 2022 20:06:17 +0200 Subject: refactor, readme, gui hooks, and more --- gosrc/structs.go | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'gosrc/structs.go') 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", +} -- cgit v1.2.3