From 725167e3d9a8740ac167508aec4e27be53a04f02 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 4 Apr 2022 22:38:05 +0200 Subject: cool ui and functioning requests, what can a man ask for (v0.0.1) --- gosrc/structs.go | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 gosrc/structs.go (limited to 'gosrc/structs.go') diff --git a/gosrc/structs.go b/gosrc/structs.go new file mode 100644 index 0000000..ac17cf6 --- /dev/null +++ b/gosrc/structs.go @@ -0,0 +1,26 @@ +// 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 + null string +} + +var Endpoints = Targets { + getall: "/sapi/v1/capital/config/getall", + null: "/null", +} + -- cgit v1.2.3