예제 #1
0
func init() {
	circuit.RegisterFunc(Start{})
}
예제 #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{}) }
예제 #3
0
func init() { circuit.RegisterFunc(StartMapper{}) }
예제 #4
0
func init() { circuit.RegisterFunc(StartAggregator{}) }
예제 #5
0
func init() { circuit.RegisterFunc(StartReducer{}) }
예제 #6
0
func init() {
	circuit.RegisterFunc(main{})
}