update to go 1.24, prepare for grpc-gateway

This commit is contained in:
2025-03-24 09:48:38 -04:00
parent 787d065e69
commit 2c78dcc133
5 changed files with 40 additions and 26 deletions

View File

@ -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"};
}
}