Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerNode ¶
type ControllerNode struct {
// contains filtered or unexported fields
}
Controller
func GetcontrollerNode ¶
func GetcontrollerNode() *ControllerNode
GetcontrollerNode returns the node instance
func (*ControllerNode) Init ¶
func (n *ControllerNode) Init() (err error)
func (*ControllerNode) Start ¶
func (n *ControllerNode) Start()
type Server ¶
type Server struct { proto.UnimplementedNodeServiceServer // channel to receive command CmdChannel chan string }
func (Server) AssignTask ¶
type WorkerNode ¶
type WorkerNode struct {
// contains filtered or unexported fields
}
func GetWorkerNode ¶
func GetWorkerNode() *WorkerNode
func (*WorkerNode) Init ¶
func (n *WorkerNode) Init() (err error)
func (*WorkerNode) Start ¶
func (n *WorkerNode) Start()
Click to show internal directories.
Click to hide internal directories.