IncomingEvent.String()

This commit is contained in:
fiatjaf 2024-05-22 08:49:46 -03:00
parent 7578bf6c71
commit 96da8bd6f5

View File

@ -34,6 +34,10 @@ type IncomingEvent struct {
Relay *Relay
}
func (ie IncomingEvent) String() string {
return fmt.Sprintf("[%s] >> %s", ie.Relay.URL, ie.Event)
}
type PoolOption interface {
IsPoolOption()
Apply(*SimplePool)