Skip to content

Commit

Permalink
readme cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Sep 24, 2024
1 parent 383131b commit cd1d64c
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,11 @@ The status api server is used to record and query events. Events can be added th
$ go run cmd/status-api/*

# Add events
$ echo 111 > pipe.fifo
$ curl localhost:8082/api/v1/new_event?message=222
$ echo "hello world" > pipe.fifo
$ curl localhost:8082/api/v1/new_event?message=this+is+a+test

# Query events (timestamp in UTC)
$ curl -s localhost:8082/api/v1/events | jq -r '(.[] | [.received_at, .message]) | @tsv'
2024-09-21T14:35:37.674863Z 111
2024-09-21T14:35:42.486016Z 222
2024-09-24T10:45:50.774339Z hello world
2024-09-24T10:46:02.01221Z this is a test
```

---

## Next Steps

These partly overlap with https://github.com/flashbots/cvm-reverse-proxy:
- Server that verifies client-side aTLS certificate
- Client that sends client-side aTLS certificate

0 comments on commit cd1d64c

Please sign in to comment.