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