From 532808ff0f2851d16ca7b60db20882d73f63a80e Mon Sep 17 00:00:00 2001 From: "@s.roertgen" Date: Tue, 26 Aug 2025 11:14:06 +0200 Subject: [PATCH 1/3] add examples --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2ed6775..832b079 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,13 @@ Based on the [khatru](https://github.com/fiatjaf/khatru) relay. - add metadata to your relay and typesense connection info - start typesense with `docker compose up` - start relay with `go run .` +<<<<<<< HEAD +======= + +## Examples + +`nak req --search "pythagoras" ws://localhost:3334 | jq .` + +`nak req -k 30142 -l 2 ws://localhost:3334 | jq .` + +>>>>>>> 73fb230 (add examples) From a666d9ca7bd02cecf7a7314f0d149265e6badd76 Mon Sep 17 00:00:00 2001 From: "@s.roertgen" Date: Tue, 26 Aug 2025 16:54:44 +0200 Subject: [PATCH 2/3] add examples --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 832b079..1f0f813 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,6 @@ Based on the [khatru](https://github.com/fiatjaf/khatru) relay. - add metadata to your relay and typesense connection info - start typesense with `docker compose up` - start relay with `go run .` -<<<<<<< HEAD -======= ## Examples @@ -15,4 +13,3 @@ Based on the [khatru](https://github.com/fiatjaf/khatru) relay. `nak req -k 30142 -l 2 ws://localhost:3334 | jq .` ->>>>>>> 73fb230 (add examples) From f9d3efe896632833628f09808a23fe28856b9b99 Mon Sep 17 00:00:00 2001 From: "@s.roertgen" Date: Tue, 26 Aug 2025 17:27:35 +0200 Subject: [PATCH 3/3] use new eventstore version --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 6c2dc8c..e14df0b 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( ) require ( - github.com/edufeed-org/eventstore v0.0.1 + github.com/edufeed-org/eventstore v0.0.2 github.com/joho/godotenv v1.5.1 ) diff --git a/go.sum b/go.sum index 119a28d..46b5bfe 100644 --- a/go.sum +++ b/go.sum @@ -28,8 +28,8 @@ github.com/decred/dcrd/crypto/blake256 v1.1.0/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPc github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 h1:NMZiJj8QnKe1LgsbDayM4UoHwbvwDRwnI3hwNaAHRnc= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0/go.mod h1:ZXNYxsqcloTdSy/rNShjYzMhyjf0LaoftYK0p+A3h40= github.com/dvyukov/go-fuzz v0.0.0-20200318091601-be3528f3a813/go.mod h1:11Gm+ccJnvAhCNLlf5+cS9KjtbaD5I5zaZpFMsTHWTw= -github.com/edufeed-org/eventstore v0.0.1 h1:uBtL9KktAs/VmpudpInn+qwof/wkQQpjCzBrWX7jcwQ= -github.com/edufeed-org/eventstore v0.0.1/go.mod h1:XXV7NvExPvxqkr8nCEv7eVLTlaGV+pCwIp3ACb2yr/M= +github.com/edufeed-org/eventstore v0.0.2 h1:/oILNei+YePPLtJxdHXrI1tDLbRJDYX7Pixmf4JwByk= +github.com/edufeed-org/eventstore v0.0.2/go.mod h1:/eL0tFR6WFDXSMglhbcF2tKKanr4vdzMlIcS3jBKFdY= github.com/fasthttp/websocket v1.5.12 h1:e4RGPpWW2HTbL3zV0Y/t7g0ub294LkiuXXUuTOUInlE= github.com/fasthttp/websocket v1.5.12/go.mod h1:I+liyL7/4moHojiOgUOIKEWm9EIxHqxZChS+aMFltyg= github.com/fiatjaf/eventstore v0.16.4 h1:pENYeuhawxMxlJk8HpRy3pb2oap0fwbphzUgsy7QPws=