Documentation ¶
Index ¶
- func NewBlockScopedDataResponse(in *pbsubstreams.BlockScopedData) *pbsubstreams.Response
- func NewModulesProgressResponse(in []*pbsubstreams.ModuleProgress) *pbsubstreams.Response
- func NewSnapshotComplete() *pbsubstreams.Response
- func NewSnapshotData(in *pbsubstreams.InitialSnapshotData) *pbsubstreams.Response
- type BlockHook
- type GrpcClientFactory
- type PostJobHook
- type ResponseFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockScopedDataResponse ¶
func NewBlockScopedDataResponse(in *pbsubstreams.BlockScopedData) *pbsubstreams.Response
func NewModulesProgressResponse ¶
func NewModulesProgressResponse(in []*pbsubstreams.ModuleProgress) *pbsubstreams.Response
func NewSnapshotComplete ¶ added in v0.0.14
func NewSnapshotComplete() *pbsubstreams.Response
func NewSnapshotData ¶ added in v0.0.14
func NewSnapshotData(in *pbsubstreams.InitialSnapshotData) *pbsubstreams.Response
Types ¶
type GrpcClientFactory ¶ added in v0.0.14
type GrpcClientFactory func(context.Context) (streamClient pbsubstreams.StreamClient, closeFunc func() error, opts []grpc.CallOption, err error)
type PostJobHook ¶
type PostJobHook func(ctx context.Context, clock *pbsubstreams.Clock) error
type ResponseFunc ¶
type ResponseFunc func(resp *pbsubstreams.Response) error
Click to show internal directories.
Click to hide internal directories.