Exemple #1
0
func init() { circuit.RegisterValue(&Dummy{}) }
Exemple #2
0
func init() {
	circuit.RegisterValue(New())
}
Exemple #3
0
func init() {
	circuit.RegisterValue(&Server{})
}
Exemple #4
0
func init() {
	circuit.RegisterValue(&API{}) // Register as circuit value
}
Exemple #5
0
func init() {
	circuit.RegisterValue(&Front{})
}
Exemple #6
0
func init() {
	circuit.RegisterValue(&Reducer{})
}
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