localrpc

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: LGPL-3.0 Imports: 10 Imported by: 6

Documentation

Overview

Package localrpc privides a function to start local rpc server

Index

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.

Jump to

Keyboard shortcuts

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