Beispiel #1
0
func init() {
	modules.Register("netstat", new(module))
}
Beispiel #2
0
func init() {
	modules.Register("ping", func() interface{} {
		return new(Runner)
	})
}
Beispiel #3
0
func init() {
	modules.Register("agentdestroy", func() interface{} {
		return new(Runner)
	})
}
Beispiel #4
0
func init() {
	modules.Register("ping", new(module))
}
Beispiel #5
0
func init() {
	modules.Register("agentdestroy", new(module))
}
Beispiel #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)
	})
}
Beispiel #7
0
func init() {
	modules.Register("memory", new(module))
}
Beispiel #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))
}
Beispiel #9
0
func init() {
	modules.Register("timedrift", new(module))
}