grpc

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 11 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 string, userId string) (*[]epochtypes.StakeEntry, uint64, error)

Jump to

Keyboard shortcuts

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