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