mirror of
https://codeberg.org/andyscott/OpenWeather-gRPC-API.git
synced 2024-11-09 06:00:49 -05:00
14 lines
353 B
Protocol Buffer
14 lines
353 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package weather;
|
|
|
|
option go_package = "codeberg.org/andcscott/OpenWeather-gRPC-API/proto";
|
|
|
|
import "weather.proto";
|
|
import "location.proto";
|
|
|
|
service WeatherService {
|
|
rpc Current(RequestCurrent) returns (SendCurrent);
|
|
rpc FiveDay(RequestFiveDay) returns (SendFiveDay);
|
|
rpc Location(RequestLocation) returns (SendLocation);
|
|
}
|