Documentation ¶
Index ¶
Constants ¶
View Source
const ( CMD_RUN = 1 CMD_PAUSE = 2 CMD_STOP = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeWorker ¶
type NodeWorker struct {
// contains filtered or unexported fields
}
NodeWorker 节点服务器,用来控制服务器应用管理
func NewNodeWorker ¶
func NewNodeWorker(role string) *NodeWorker
func (*NodeWorker) Start ¶
func (myself *NodeWorker) Start() error
func (*NodeWorker) Stop ¶
func (myself *NodeWorker) Stop()
Click to show internal directories.
Click to hide internal directories.