server

package
v0.0.0-...-baf061c Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL