diff options
Diffstat (limited to 'gosrc/structs.go')
-rw-r--r-- | gosrc/structs.go | 26 |
1 files changed, 26 insertions, 0 deletions
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", +} + |