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