rpcdump

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Overview

Package rpcdump is a generated protocol buffer package.

It is generated from these files:

rpcdump.proto

It has these top-level messages:

GetDumpParam

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRpcdump = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRpcdump   = fmt.Errorf("proto: integer overflow")
)

Functions

func NewDumpServer

func NewDumpServer(state *state.State, blockchain bcm.BlockchainInfo, logger *logging.Logger) *dumpServer

func RegisterDumpServer

func RegisterDumpServer(s *grpc.Server, srv DumpServer)

Types

type DumpClient

type DumpClient interface {
	GetDump(ctx context.Context, in *GetDumpParam, opts ...grpc.CallOption) (Dump_GetDumpClient, error)
}

func NewDumpClient

func NewDumpClient(cc *grpc.ClientConn) DumpClient

type DumpServer

type DumpServer interface {
	GetDump(*GetDumpParam, Dump_GetDumpServer) error
}

type Dump_GetDumpClient

type Dump_GetDumpClient interface {
	Recv() (*dump.Dump, error)
	grpc.ClientStream
}

type Dump_GetDumpServer

type Dump_GetDumpServer interface {
	Send(*dump.Dump) error
	grpc.ServerStream
}

type GetDumpParam

type GetDumpParam struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*GetDumpParam) Descriptor

func (*GetDumpParam) Descriptor() ([]byte, []int)

func (*GetDumpParam) GetHeight

func (m *GetDumpParam) GetHeight() uint64

func (*GetDumpParam) Marshal

func (m *GetDumpParam) Marshal() (dAtA []byte, err error)

func (*GetDumpParam) MarshalTo

func (m *GetDumpParam) MarshalTo(dAtA []byte) (int, error)

func (*GetDumpParam) ProtoMessage

func (*GetDumpParam) ProtoMessage()

func (*GetDumpParam) Reset

func (m *GetDumpParam) Reset()

func (*GetDumpParam) Size

func (m *GetDumpParam) Size() (n int)

func (*GetDumpParam) String

func (m *GetDumpParam) String() string

func (*GetDumpParam) Unmarshal

func (m *GetDumpParam) Unmarshal(dAtA []byte) error

func (*GetDumpParam) XXX_MessageName

func (*GetDumpParam) XXX_MessageName() string

Jump to

Keyboard shortcuts

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