types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterServer

func RegisterServer(qrt gogogrpc.Server, srv ABCIQueryServer)

Types

type ABCIQueryClient

type ABCIQueryClient interface {
	Info(ctx context.Context, in *abci.RequestInfo, opts ...grpc.CallOption) (*abci.ResponseInfo, error)
	Query(ctx context.Context, in *abci.RequestQuery, opts ...grpc.CallOption) (*abci.ResponseQuery, error)
}

ABCIQueryClient is the client API for ABCI query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewABCIQueryClient

func NewABCIQueryClient(cc *grpc.ClientConn) ABCIQueryClient

type ABCIQueryServer

type ABCIQueryServer interface {
	Info(context.Context, *abci.RequestInfo) (*abci.ResponseInfo, error)
	Query(context.Context, *abci.RequestQuery) (*abci.ResponseQuery, error)
}

ABCIQueryServer is the server API for ABCI query service.

Jump to

Keyboard shortcuts

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