response

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

type Stream struct {
	// contains filtered or unexported fields
}

func New

func New(respFunc substreams.ResponseFunc) *Stream

func (*Stream) BlockScopedData

func (s *Stream) BlockScopedData(in *pbsubstreamsrpc.BlockScopedData) error

func (*Stream) RPCFailedProgressResponse

func (s *Stream) RPCFailedProgressResponse(reason string, logs []string, logsTruncated bool) error

func (*Stream) SendModulesStats added in v1.1.12

func (s *Stream) SendModulesStats(stats []*pbsubstreamsrpc.ModuleStats, stages []*pbsubstreamsrpc.Stage, jobs []*pbsubstreamsrpc.Job, bytesRead, bytesWritten uint64) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL