service

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: MIT Imports: 19 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, cfg *config.Config) pb.ManagerServiceServer

func StartCLIServer

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

Types

type Manager

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

func (*Manager) DealPeer

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

func (*Manager) NetInfo

func (*Manager) PruneBlocks

func (m *Manager) PruneBlocks(ctx context.Context, req *pb.PruneBlocksRequest) (*empty.Empty, error)

func (*Manager) Status

type ManagerConsole

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

func ConfigureManagerConsole

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

func NewManagerConsole

func NewManagerConsole(cli *cli.App) *ManagerConsole

func (*ManagerConsole) Cli

func (mc *ManagerConsole) Cli()

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