khatru: update docs again, now it seems to be mostly up to date.

This commit is contained in:
fiatjaf
2025-10-20 18:22:08 -03:00
parent e1fbd09407
commit 8cf120c08f
10 changed files with 40 additions and 27 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ If on `OnRequest` or `OnEvent` you prefix the message with `auth-required: `, th
relay.OnRequest = func(ctx context.Context, filter nostr.Filter) (bool, string) {
return true, "auth-required: this query requires you to be authenticated"
}
relay.OnEvent = func(ctx context.Context, event *nostr.Event) (bool, string) {
relay.OnEvent = func(ctx context.Context, event nostr.Event) (bool, string) {
return true, "auth-required: publishing this event requires authentication"
}
```