diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-04-04 22:38:05 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-04-04 22:38:05 +0200 |
commit | 725167e3d9a8740ac167508aec4e27be53a04f02 (patch) | |
tree | d71a2a55a5b5ea601ee68bab2210eb499fa84c36 /gosrc/structs.go | |
parent | amazing ui work brother, it is hot here or is it just me \? (diff) | |
download | smith-725167e3d9a8740ac167508aec4e27be53a04f02.tar.gz smith-725167e3d9a8740ac167508aec4e27be53a04f02.tar.bz2 smith-725167e3d9a8740ac167508aec4e27be53a04f02.tar.xz smith-725167e3d9a8740ac167508aec4e27be53a04f02.tar.zst smith-725167e3d9a8740ac167508aec4e27be53a04f02.zip |
cool ui and functioning requests, what can a man ask for (v0.0.1)
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", +} + |