Documentation ¶
Index ¶
- func NewManager(blockchain *minter.Blockchain, tmRPC *rpc.Local, cfg *config.Config) pb.ManagerServiceServer
- func StartCLIServer(socketPath string, manager pb.ManagerServiceServer, ctx context.Context) error
- type Manager
- func (m *Manager) Dashboard(_ *empty.Empty, stream pb.ManagerService_DashboardServer) error
- func (m *Manager) DealPeer(_ context.Context, req *pb.DealPeerRequest) (*empty.Empty, error)
- func (m *Manager) NetInfo(context.Context, *empty.Empty) (*pb.NetInfoResponse, error)
- func (m *Manager) PruneBlocks(req *pb.PruneBlocksRequest, stream pb.ManagerService_PruneBlocksServer) error
- func (m *Manager) Status(context.Context, *empty.Empty) (*pb.StatusResponse, error)
- type ManagerConsole
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 ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) PruneBlocks ¶
func (m *Manager) PruneBlocks(req *pb.PruneBlocksRequest, stream pb.ManagerService_PruneBlocksServer) error
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
Click to show internal directories.
Click to hide internal directories.