implement count rpc
This commit is contained in:
@ -5,6 +5,14 @@ import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "gitea.libretechconsulting.com/rmcguire/ambient-local-exporter/api/v1alpha1/weather";
|
||||
|
||||
message CountWeatherUpdatesRequest {
|
||||
GetWeatherOpts opts = 1;
|
||||
}
|
||||
|
||||
message CountWeatherUpdatesResponse {
|
||||
int32 count = 1;
|
||||
}
|
||||
|
||||
message GetWeatherRequest {
|
||||
GetWeatherOpts opts = 1;
|
||||
optional int32 limit = 2;
|
||||
|
Reference in New Issue
Block a user