Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config *types.Config L1RPC *ethclient.Client L2RPC *ethclient.Client DB *gorm.DB LatestBlockNumber int64 SyncedBlockNumber int64 SyncedBlockHash common.Hash Context context.Context }
func NewServiceContext ¶
func NewServiceContext(ctx context.Context, cfg *types.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.