mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-19 10:36:42 +01:00
nip19: helper for building nevent from RelayEvent.
This commit is contained in:
4
pool.go
4
pool.go
@@ -46,9 +46,7 @@ type RelayEvent struct {
|
||||
Relay *Relay
|
||||
}
|
||||
|
||||
func (ie RelayEvent) String() string {
|
||||
return fmt.Sprintf("[%s] >> %s", ie.Relay.URL, ie.Event)
|
||||
}
|
||||
func (ie RelayEvent) String() string { return fmt.Sprintf("[%s] >> %s", ie.Relay.URL, ie.Event) }
|
||||
|
||||
type PoolOption interface {
|
||||
ApplyPoolOption(*SimplePool)
|
||||
|
||||
Reference in New Issue
Block a user