rpcinfo

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Status and healthcheck
	Status  = "status"
	Network = "network"

	// Accounts
	Accounts        = "accounts"
	Account         = "account"
	Storage         = "storage"
	DumpStorage     = "dump_storage"
	GetAccountHuman = "account_human"

	// Simulated call
	Call     = "call"
	CallCode = "call_code"

	// Names
	Name  = "name"
	Names = "names"

	// Blockchain
	Genesis = "genesis"
	ChainID = "chain_id"
	Block   = "block"
	Blocks  = "blocks"

	// Consensus
	UnconfirmedTxs = "unconfirmed_txs"
	Validators     = "validators"
	Consensus      = "consensus"
)

Method names

Variables

This section is empty.

Functions

func GetRoutes

func GetRoutes(service *rpc.Service, logger *logging.Logger) map[string]*server.RPCFunc

func StartServer

func StartServer(service *rpc.Service, pattern, listenAddress string, logger *logging.Logger) (*http.Server, error)

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