Documentation ¶
Overview ¶
Package localrpc privides a function to start local rpc server
Index ¶
- Constants
- func GetNeighbor(params []interface{}) map[string]interface{}
- func GetNodeState(params []interface{}) map[string]interface{}
- func SetDebugInfo(params []interface{}) map[string]interface{}
- func StartConsensus(params []interface{}) map[string]interface{}
- func StartLocalServer() error
- func StopConsensus(params []interface{}) map[string]interface{}
Constants ¶
View Source
const ( LOCAL_HOST string = "127.0.0.1" LOCAL_DIR string = "/local" )
Variables ¶
This section is empty.
Functions ¶
func GetNeighbor ¶ added in v1.14.1
func GetNeighbor(params []interface{}) map[string]interface{}
func GetNodeState ¶ added in v1.14.1
func GetNodeState(params []interface{}) map[string]interface{}
func SetDebugInfo ¶ added in v1.14.1
func SetDebugInfo(params []interface{}) map[string]interface{}
func StartConsensus ¶ added in v1.14.1
func StartConsensus(params []interface{}) map[string]interface{}
func StartLocalServer ¶
func StartLocalServer() error
func StopConsensus ¶ added in v1.14.1
func StopConsensus(params []interface{}) map[string]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.