示例#1
0
func init() {
	modules.Register("netstat", new(module))
}
示例#2
0
文件: ping.go 项目: Novemburr/mig
func init() {
	modules.Register("ping", func() interface{} {
		return new(Runner)
	})
}
示例#3
0
func init() {
	modules.Register("agentdestroy", func() interface{} {
		return new(Runner)
	})
}
示例#4
0
文件: ping.go 项目: rayyang2000/mig
func init() {
	modules.Register("ping", new(module))
}
示例#5
0
文件: agentdestroy.go 项目: fugr/mig
func init() {
	modules.Register("agentdestroy", new(module))
}
示例#6
0
// init is called by the Go runtime at startup. We use this function to
// register the module in a global array of available modules, so the
// agent knows we exist
func init() {
	modules.Register("timedrift", func() interface{} {
		return new(Runner)
	})
}
示例#7
0
文件: memory.go 项目: rayyang2000/mig
func init() {
	modules.Register("memory", new(module))
}
示例#8
0
// init is called by the Go runtime at startup. We use this function to
// register the module in a global array of available modules, so the
// agent knows we exist
func init() {
	modules.Register("example", new(module))
}
示例#9
0
func init() {
	modules.Register("timedrift", new(module))
}