Beispiel #1
0
func init() {
	mig.RegisterModule("filechecker", func() interface{} {
		return new(Runner)
	})
}
Beispiel #2
0
func init() {
	mig.RegisterModule("agentdestroy", func() interface{} {
		return new(Runner)
	})
}
Beispiel #3
0
func init() {
	mig.RegisterModule("netstat", func() interface{} {
		return new(Runner)
	})
}
Beispiel #4
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() {
	mig.RegisterModule("example", func() interface{} {
		return new(Runner)
	})
}