core

package
v0.0.0-...-8df46b2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentAgent = &models.AgentInfo{}

CurrentAgent 当前Ageng实例信息

Functions

func AddNewCmdToPool

func AddNewCmdToPool(cmd *m.CmdInfo) error

AddNewCmdToPool Add a new cmd to command pool.

func ExecCmdTask

func ExecCmdTask(cmdInfo *m.CmdInfo) error

ExecCmdTask 添加命令任务

func PushMsg

func PushMsg(msgType string, msg interface{})

PushMsg 推送消息到服务器

Types

type MsgCenter

type MsgCenter struct {
	// contains filtered or unexported fields
}

MsgCenter 消息推送处理

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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