service

package
v0.0.0-...-c04c664 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: MIT Imports: 19 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) 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