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)
Click to show internal directories.
Click to hide internal directories.