Created
June 18, 2020 04:07
-
-
Save Niraj-Fonseka/adb71adb5f568d9238e0dc06195b6c90 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type server struct{} | |
func (*server) TempSensor(req *sensorpb.SensorRequest, | |
stream sensorpb.Sensor_TempSensorServer) error { | |
return nil | |
} | |
func (*server) HumiditySensor(req *sensorpb.SensorRequest, | |
stream sensorpb.Sensor_HumiditySensorServer) error { | |
return nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment