client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package modules is to warpped the API provided by each module of IRIS-Hub

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaseClient

func NewBaseClient(cfg sdk.ClientConfig, encodingConfig sdk.EncodingConfig, logger log.Logger) sdk.BaseClient

NewBaseClient return the baseClient for every sub modules

func NewGRPCClient

func NewGRPCClient(url string) grpcClient

func NewLocker

func NewLocker(size int) *locker

NewLocker implement the function of lock, can lock resources according to conditions

func NewRPCClient

func NewRPCClient(remote string,
	cdc *codec.LegacyAmino,
	txDecoder sdk.TxDecoder,
	logger log.Logger,
	timeout uint) sdk.TmClient

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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