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