json

package
v0.2.2-alpha Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 26 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTTPHandler

func GetHTTPHandler(l *client.Client, logger log.Logger) (http.Handler, error)

GetHTTPHandler returns handler configured to serve Tendermint-compatible RPC.

Types

type ABCIInfoArgs

type ABCIInfoArgs struct {
}

ABCIInfoArgs defines args for ABCI Info method.

type ABCIQueryArgs

type ABCIQueryArgs struct {
	Path   string         `json:"path"`
	Data   bytes.HexBytes `json:"data"`
	Height StrInt64       `json:"height"`
	Prove  bool           `json:"prove"`
}

ABCIQueryArgs defines args for ABCI Query method.

type StrInt

type StrInt int

StrInt is an proper int or quoted "int"

func (*StrInt) UnmarshalJSON

func (s *StrInt) UnmarshalJSON(b []byte) error

UnmarshalJSON parses JSON (int or int qouted as string) into StrInt

type StrInt64

type StrInt64 int64

StrInt64 is an proper int64 or quoted "int64"

func (*StrInt64) UnmarshalJSON

func (s *StrInt64) UnmarshalJSON(b []byte) error

UnmarshalJSON parses JSON (int or int qouted as string) into StrInt64

Jump to

Keyboard shortcuts

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