$ go run main.go
$ curl -X POST -d "hello" http://localhost:8080/write
$ tail -f /var/log/syslog | tee /dev/stderr | while read -r line; do curl -X POST -d "$line" http://localhost:8080/write; done
$ tail -f /var/log/syslog | tee /dev/stderr | while read -r line; do wget --quiet --output-document=- --post-data "$line" http://localhost:8080/write; done
$ curl http://localhost:8080/readAll
Content type
Image
Digest
sha256:e2596f170…
Size
4.2 MB
Last updated
about 2 years ago
docker pull zerosuxx/http-logger