Ejemplo n.º 1
0
func init() { circuit.RegisterValue(&Dummy{}) }
Ejemplo n.º 2
0
func init() {
	circuit.RegisterValue(New())
}
Ejemplo n.º 3
0
func init() {
	circuit.RegisterValue(&Server{})
}
Ejemplo n.º 4
0
func init() {
	circuit.RegisterValue(&API{}) // Register as circuit value
}
Ejemplo n.º 5
0
func init() {
	circuit.RegisterValue(&Front{})
}
Ejemplo n.º 6
0
func init() {
	circuit.RegisterValue(&Reducer{})
}
Ejemplo n.º 7
0
func init() {
	// Values, for which cross-runtime pointers will be created and passed
	// outside of the local runtime, must have their types registered with
	// the circuit type system using RegisterValue.
	circuit.RegisterValue(&Reducer{})
} // Boilerplate