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(ctx context.Context, req *pb.DealPeerRequest) (*empty.Empty, error)
- func (m *Manager) NetInfo(context.Context, *empty.Empty) (*pb.NetInfoResponse, error)
- func (m *Manager) PruneBlocks(ctx context.Context, req *pb.PruneBlocksRequest) (*empty.Empty, 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 ¶
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
Click to show internal directories.
Click to hide internal directories.