예제 #1
0
파일: netstat.go 프로젝트: rayyang2000/mig
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
파일: timedrift.go 프로젝트: Novemburr/mig
// 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
파일: example.go 프로젝트: rayyang2000/mig
// 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))
}