예제 #1
0
파일: filechecker.go 프로젝트: netantho/mig
func init() {
	mig.RegisterModule("filechecker", func() interface{} {
		return new(Runner)
	})
}
예제 #2
0
func init() {
	mig.RegisterModule("agentdestroy", func() interface{} {
		return new(Runner)
	})
}
예제 #3
0
파일: netstat.go 프로젝트: netantho/mig
func init() {
	mig.RegisterModule("netstat", func() interface{} {
		return new(Runner)
	})
}
예제 #4
0
파일: example.go 프로젝트: netantho/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() {
	mig.RegisterModule("example", func() interface{} {
		return new(Runner)
	})
}