Documentation ¶
Index ¶
Constants ¶
View Source
const ( BestRevision = "best" FinalizedRevision = "finalized" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type EventWrapper ¶
EventWrapper is used to return errors from the websocket alongside the data
type Subscription ¶
type Subscription[T any] struct { EventChan <-chan EventWrapper[T] Unsubscribe func() }
Subscription is used to handle the active subscription
Click to show internal directories.
Click to hide internal directories.