grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRequestTimeout = 1 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCFetcher

type GRPCFetcher struct {
	GrpcConn   *grpc.ClientConn
	CancelFunc context.CancelFunc
}

func NewGRPCFetcher

func NewGRPCFetcher(grpcAddr string) (*GRPCFetcher, error)

func (*GRPCFetcher) FetchPairings

func (fetcher *GRPCFetcher) FetchPairings(chainId, userId string) (*pairingtypes.QueryGetPairingResponse, error)

Jump to

Keyboard shortcuts

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