Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockFetcher ¶
type BlockHandler ¶
type BlockItem ¶ added in v1.2.0
type BlockItem struct {
// contains filtered or unexported fields
}
type BlockPoller ¶
func New ¶
func New[C any]( blockFetcher BlockFetcher[C], blockHandler BlockHandler, clients *rpc.Clients[C], opts ...Option[C], ) *BlockPoller[C]
type FetchResponse ¶ added in v1.6.8
type FireBlockHandler ¶
type FireBlockHandler struct {
// contains filtered or unexported fields
}
func NewFireBlockHandler ¶
func NewFireBlockHandler(blockTypeURL string) *FireBlockHandler
func (*FireBlockHandler) Init ¶
func (f *FireBlockHandler) Init()
type HeadBlockNumberFetcher ¶ added in v1.6.8
type Option ¶
type Option[C any] func(*BlockPoller[C])
func IgnoreCursor ¶
IgnoreCursor ensures the poller will ignore the cursor and start from the startBlockNum the cursor will still be saved as the poller progresses
func WithStoringState ¶
Click to show internal directories.
Click to hide internal directories.