Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type Config ¶
type Config struct { MergedBlocksStoreURL string OneBlocksStoreURL string ForkedBlocksStoreURL string BlockStreamAddr string // gRPC endpoint to get real-time blocks, can be "" in which live streams is disabled GRPCListenAddr string // gRPC address where this app will listen to GRPCShutdownGracePeriod time.Duration // The duration we allow for gRPC connections to terminate gracefully prior forcing shutdown ServiceDiscoveryURL *url.URL ServerOptions []server.Option `json:"-"` }
type Modules ¶
type Modules struct { // Required dependencies Authenticator dauth.Authenticator HeadTimeDriftMetric *dmetrics.HeadTimeDrift HeadBlockNumberMetric *dmetrics.HeadBlockNum TransformRegistry *transform.Registry RegisterServiceExtension RegisterServiceExtensionFunc CheckPendingShutdown func() bool }
type RegisterServiceExtensionFunc ¶
type RegisterServiceExtensionFunc func(server dgrpcserver.Server, mergedBlocksStore dstore.Store, forkedBlocksStore dstore.Store, forkableHub *hub.ForkableHub, logger *zap.Logger)
Click to show internal directories.
Click to hide internal directories.