Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenAddr string MaxMsgSize int // In bytes RpcMetricsEnabled bool // enable GRPC metrics reporting }
Config defines the configurable options for the gRPC server.
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine implements a gRPC server with a simplified version of the Observation API.
func New ¶
func New( log zerolog.Logger, config Config, e *ingestion.Engine, blocks storage.Blocks, events storage.Events, exeResults storage.ExecutionResults, txResults storage.TransactionResults, chainID flow.ChainID) *Engine
New returns a new RPC engine.
Click to show internal directories.
Click to hide internal directories.