service

package
v1.1.8-pre-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 25 Imported by: 0

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) Dashboard added in v1.1.6

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

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(ctx context.Context)

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