grpc_stream-medium
grpc_stream-medium copied to clipboard
Looks promising, but the proto file seems to be missing definitions.
When I try to build the server code, I see the following problem:
(base) [dsargrad@localhost sensor-streamer]$ go build .
# dsargrad/sensor-streamer
./server.go:19:18: undefined: sensorpb.Sensor_TempSensorServer
./server.go:33:18: undefined: sensorpb.Sensor_HumiditySensorServer
./server.go:67:11: undefined: sensorpb.RegisterSensorServer
I'm pretty sure this is because you did not commit updates to the ".proto" definition. For example the following is not found in my generated proto.
type SensorServer interface {
TempSensor(*SensorRequest, Sensor_TempSensorServer) error
HumiditySensor(*SensorRequest, Sensor_HumiditySensorServer) error
}
I found this repository based on your article here.
I hope you can find the updated proto. The article seems so useful, even though its a couple years old.