Example #1
0
func init() {
	circuit.RegisterFunc(Start{})
}
Example #2
0
// The circuit requires that all types, that hold only methods designated for
// remote execution, be registered during package initialization, using RegisterFunc.
func init() { circuit.RegisterFunc(App{}) }
Example #3
0
func init() { circuit.RegisterFunc(StartMapper{}) }
Example #4
0
func init() { circuit.RegisterFunc(StartAggregator{}) }
Example #5
0
func init() { circuit.RegisterFunc(StartReducer{}) }
Example #6
0
func init() {
	circuit.RegisterFunc(main{})
}