mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-01 02:30:06 +02:00
IncomingEvent.String()
This commit is contained in:
parent
7578bf6c71
commit
96da8bd6f5
4
pool.go
4
pool.go
@ -34,6 +34,10 @@ type IncomingEvent struct {
|
|||||||
Relay *Relay
|
Relay *Relay
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (ie IncomingEvent) String() string {
|
||||||
|
return fmt.Sprintf("[%s] >> %s", ie.Relay.URL, ie.Event)
|
||||||
|
}
|
||||||
|
|
||||||
type PoolOption interface {
|
type PoolOption interface {
|
||||||
IsPoolOption()
|
IsPoolOption()
|
||||||
Apply(*SimplePool)
|
Apply(*SimplePool)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user