support for EOSE and OK messages on relay/subscription.

This commit is contained in:
fiatjaf
2022-11-12 21:49:57 -03:00
parent 50e47392a9
commit 2641327c28
2 changed files with 36 additions and 3 deletions

View File

@@ -4,8 +4,9 @@ type Subscription struct {
id string
conn *Connection
filters Filters
Events chan Event
filters Filters
Events chan Event
EndOfStoredEvents chan struct{}
stopped bool
}