this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(make) convenient local curl tests

eagleusb 2e70e491 77229b0f

+9
+9
Makefile
··· 16 16 version: 17 17 go run -- *.go --version 18 18 19 + test: # naive local requests for naive outputs 20 + @echo "> /list" 21 + @curl -sS --http2 http://127.1:8080/list | jq . 22 + @echo "\n> /price" 23 + @curl -sS --http2 http://127.1:8080/price?at=2021-11-19T12:22:51Z | jq . # 6471285 24 + @curl -sS --http2 http://127.1:8080/price?at=2021-11-19T12:23:51Z | jq . # undefined 404 25 + @echo "\n> /average" 26 + @curl -sS --http2 'http://127.1:8080/average?start=2021-11-19T00:00:00Z&end=2021-11-20T00:00:00Z' | jq '{start, end, avg}' 27 + 19 28 clean: 20 29 rm -f bin/proxycon