Versions in this module Expand all Collapse all v0 v0.1.0 Jun 25, 2023 Changes in this version + type BlockEventListener interface + CheckPoint func() uint64 + Close func() + Events func() + type Handler struct + func NewHandler(listener Listener) *Handler + func (handler *Handler) Delete(c *fiber.Ctx) error + func (handler *Handler) Deregister(c *fiber.Ctx) error + func (handler *Handler) List(c *fiber.Ctx) error + func (handler *Handler) Register(c *fiber.Ctx) error + type Injector interface + DeleteNetwork func(string) error + InjectBlocks func(...*models.Block) error + InjectNetworks func(...*models.Network) error + InjectTransactions func(...*models.Transaction) error + func NewLogInjector(logger func(args ...interface{})) Injector + func NewPQInjector(db *pg.DB) (Injector, error) + type Listener interface + Delete func(string) error + Deregister func(string) error + Register func(*network.Network) error + Selector func() Selector + func NewListener(ctx context.Context, errq errorsq.Errorsq, injector Injector, ...) (Listener, error) + type Selector interface + Network func(nid string) (*models.Network, error) + NetworkStartAt func(nid string) (uint64, error) + Networks func(fields ...string) ([]models.Network, error) + func NewPQSelector(db *pg.DB) (Selector, error)