Documentation ¶
Index ¶
Constants ¶
View Source
const ( Rpc_System_System = "ServiceSystem" Rpc_System_Method_Ping = Rpc_System_System + ".Ping" )
View Source
const ( Rpc_Task_Service = "ServiceTask" Rpc_Task_Method_Publish = Rpc_Task_Service + ".Publish" Rpc_Task_Method_GetStatus = Rpc_Task_Service + ".Status" Rpc_Task_Method_Delete = Rpc_Task_Service + ".Delete" )
Variables ¶
View Source
var Conn_Timeout = beego.AppConfig.DefaultInt64("agent.tls_timeout", 1000)
View Source
var System = SystemRemote{}
View Source
var Task = TaskRemote{}
Functions ¶
This section is empty.
Types ¶
type BaseRemote ¶
type BaseRemote struct { }
type SystemRemote ¶
type SystemRemote struct {
BaseRemote
}
type TaskRemote ¶
type TaskRemote struct {
BaseRemote
}
func (*TaskRemote) GetResults ¶
func (this *TaskRemote) GetResults(ip string, port string, token string, args map[string]interface{}) (bool, error)
获取节点执行结果
Click to show internal directories.
Click to hide internal directories.