client

package
v1.5.34 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientContext added in v1.5.28

func NewClientContext() (context.Context, error)

func NewClientContextFromViper

func NewClientContextFromViper(cdc *codec.Codec) (context.Context, error)

func Paginate

func Paginate(numObjs, page, limit, defLimit int) (start, end int)

Types

type HealthcheckResponse

type HealthcheckResponse struct {
	State int         `json:"state"`
	Data  interface{} `json:"data"`
}

type Response

type Response struct {
	Ret     int64       `json:"ret"`
	Data    interface{} `json:"data"`
	Message string      `json:"message"`
}

type TMResponse

type TMResponse struct {
	Jsonrpc string      `json:"jsonrpc"`
	ID      string      `json:"id"`
	Result  interface{} `json:"result"`
}

Directories

Path Synopsis
cmd
rpc
Package lite allows you to securely validate headers without a full node.
Package lite allows you to securely validate headers without a full node.
client
Package clients defines a provider that uses a rpcclient to get information, which is used to get new headers and validators directly from a Tendermint clients.
Package clients defines a provider that uses a rpcclient to get information, which is used to get new headers and validators directly from a Tendermint clients.

Jump to

Keyboard shortcuts

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