From ea223d98b0efb02b67f3fdc85f2479269e9c40a5 Mon Sep 17 00:00:00 2001 From: mleku Date: Tue, 17 Dec 2024 13:29:14 +0000 Subject: [PATCH 1/2] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 263dbca..22c28e8 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ [![Support this project](https://img.shields.io/badge/donate-geyser_crowdfunding_project_page-orange.svg)](https://geyser.fund/project/realy) -zap me: ⚡️mleku@getalby.com - +zap me: ⚡️mleku@getalby.com support through geyser: ⚡️realy@geyser.fund ![realy.png](./realy.png) @@ -150,4 +149,4 @@ You can also shut down the realy as well: Other administrative features will probably be added later, these are just the essentials. -Other \ No newline at end of file +Other From 94f818184f97979a98b883ebfd86b4b96f7dd931 Mon Sep 17 00:00:00 2001 From: mleku Date: Fri, 20 Dec 2024 13:18:03 +0000 Subject: [PATCH 2/2] reflowing to respeck the 80 character terminal --- realy/util_test.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/realy/util_test.go b/realy/util_test.go index 01ec03b..78fae78 100644 --- a/realy/util_test.go +++ b/realy/util_test.go @@ -37,9 +37,9 @@ type testRelay struct { acceptEvent func(*event.T) bo } -func (tr *testRelay) Name() st { return tr.name } -func (tr *testRelay) Storage(context.T) store.I { return tr.storage } -func (tr *testRelay) Origin() st { return "example.com" } +func (tr *testRelay) Name() st { return tr.name } +func (tr *testRelay) Storage() store.I { return tr.storage } +func (tr *testRelay) Origin() st { return "example.com" } func (tr *testRelay) Init() er { tr.cx, tr.Cancel = context.Cancel(context.Bg()) if fn := tr.init; fn != nil { @@ -54,7 +54,8 @@ func (tr *testRelay) OnShutdown(c context.T) { } } -func (tr *testRelay) AcceptEvent(c context.T, evt *event.T, hr *http.Request, origin st, +func (tr *testRelay) AcceptEvent(c context.T, evt *event.T, hr *http.Request, + origin st, authedPubkey by) (ok bo, notice st, after func()) { if fn := tr.acceptEvent; fn != nil { return fn(evt), "", nil @@ -110,7 +111,8 @@ func (st *testStorage) Close() (err er) { return } -func (st *testStorage) QueryEvents(c context.T, f *filter.T) (evs event.Ts, err er) { +func (st *testStorage) QueryEvents(c context.T, f *filter.T) (evs event.Ts, + err er) { if fn := st.queryEvents; fn != nil { return fn(c, f) }