func main() {
	runner.Run(os.Args[1:], func() {
		plugin.RegisterMultiBackendAdapterFactory("handle-things", adapter.HandleThingsFactory)
		plugin.RegisterWrapperFactory("SessionId", session.NewSessionWrapper)
		plugin.RegisterWrapperFactory("Timing", timing.NewTimingWrapper)
		plugin.RegisterWrapperFactory("Recovery", recovery.NewRecoveryWrapper)
	})
}
Exemple #2
0
func main() {
	args := grabCommandLineArgs()
	runner.Run(args, registerPlugins)
}