Skip to content

Commit f940c96

Browse files
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 RFC3339
1 parent 70785b0 commit f940c96

36 files changed

+1457
-544
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ script:
1919
- GOOS=linux GOARCH=386 make binaries
2020
- make ci
2121
- make crossbuild
22+
cache:
23+
directories:
24+
- vendor
2225
env:
2326
global:
2427
- secure: hQ9wa4Wx5eWfG4q8yySldLFrHMGfXnMz2JBB8YyHIxkXraDpr+ltqrraVSN2LaTdSAQcDxDKnCwnqRDZ34PX64UDZe8941qwPTFSjFmdz0VcOwStInPxioaLBJg14xcAUl55vLpx5Qkc3XcyRaKBSRJdi+cUqSjQL6MzlrR8ERIOJQzJ4l2VJ+e5X7D917dPEV5K4Z3Rha3ILTLCIQY6fygPnjRD8hNJjwMlW30vavUYs+fg9adK3M+o4vm0IXWqy7aqpaAWhfkJXH+tVM7dzXuql6l/dgFkN2uIB2WK4XJZbHrLirt8ceoL3SYLolMdm6ldG5exYROhuhh6jMlJ+Gx05/088URNxTMEmZpAdJHVYX4BvHIvkNb6x/TCYW+/+mbtGVtg27obsnXXrZERT8Jxe6V6NMhAUQYFjqcvOu8ATp4h2xwmBHhx3sMP8t9Y1owuqrPciSujzeG+XoDguxHwjun41YJJZx030kARV53EsM2wFoePVV1h9YXXCglUAyaVkQMBLeui3O11zFunpz4limPIXTNK9zDeW+krPaJWx3qi8Yn3DwUV1aozDfMHPCKg4nhwLfGPwQNwuzZPjvTAoVmW+YY5b9ZrLRFn7ndKlFFQp8nk3ssWxX5bPJrWd9UZQ1eu+gAV4u1DLpGLvGo1eqM1RWdXWl6jSpLRiHY=

0 commit comments

Comments
 (0)