Commit f940c96
authored
Rest API (#51)
* switch to go's dep
* Rest API, endpoints endpoint
* Fix fmt
* replace dockertest + redis with redigomock, gnarly but it works
* put the api server on the right listener 🤦
* use TLS matcher for the API
* remove port binding, only works with TLS shared port
* include region in endpoint information
* cache go dep vendor directory
* Accounce current server in redis sorted set
* Use RFC3339 time format for serialization instead of t.String() [fixes #48]
* server announces itself for discovery, will be used by clients soon
* new certs for dev
* set s3 bucket policy to public to download wormhole
* install mc locally
* try setting public only for the linux build
* don't mess with policies, I set it as a S3 bucket policy
* format time with RFC33391 parent 70785b0 commit f940c96
File tree
36 files changed
+1457
-544
lines changed- api
- config
- local
- net
- remote
- scripts
- server
- session
- tls
36 files changed
+1457
-544
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments