update to go 1.24, prepare for grpc-gateway
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
syntax = "proto3";
|
||||
package ambient.weather;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "weather/weather.proto";
|
||||
|
||||
option go_package = "gitea.libretechconsulting.com/rmcguire/ambient-local-exporter/api/v1alpha1/weather";
|
||||
|
||||
service AmbientLocalWeatherService {
|
||||
rpc GetWeather(GetWeatherRequest) returns (GetWeatherResponse);
|
||||
rpc GetWeather(GetWeatherRequest) returns (GetWeatherResponse) {
|
||||
option (google.api.http) = {get: "/v1/weather"};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user