service

package
v1.2.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 32 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 NewManager

func NewManager(blockchain *minter.Blockchain, tmRPC *rpc.Local, tmNode *tmNode.Node, cfg *config.Config) pb.ManagerServiceServer

func StartCLIServer

func StartCLIServer(socketPath string, manager pb.ManagerServiceServer, ctx context.Context) error

Types

type Manager

type Manager struct {
	pb.UnimplementedManagerServiceServer
	// contains filtered or unexported fields
}

func (*Manager) Dashboard added in v1.1.6

func (m *Manager) Dashboard(_ *empty.Empty, stream pb.ManagerService_DashboardServer) error

func (*Manager) DealPeer

func (m *Manager) DealPeer(_ context.Context, req *pb.DealPeerRequest) (*empty.Empty, error)

func (*Manager) NetInfo

func (*Manager) PruneBlocks

func (*Manager) Status

type ManagerConsole

type ManagerConsole struct {
	// contains filtered or unexported fields
}

func NewCLI added in v1.2.0

func NewCLI(socketPath string) (*ManagerConsole, error)

func (*ManagerConsole) Cli

func (mc *ManagerConsole) Cli(ctx context.Context) error

func (*ManagerConsole) Execute

func (mc *ManagerConsole) Execute(args []string) error

Jump to

Keyboard shortcuts

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