service

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

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 26 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(_ 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)

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