mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 05:55:19 +00:00
docs
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.15.6
|
// protoc v3.15.5
|
||||||
// source: proto/weather.proto
|
// source: proto/weather.proto
|
||||||
|
|
||||||
package weather
|
package weather
|
||||||
@@ -253,7 +253,7 @@ type ForecastResponse struct {
|
|||||||
Timezone string `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty"`
|
Timezone string `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty"`
|
||||||
// the local time
|
// the local time
|
||||||
LocalTime string `protobuf:"bytes,7,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"`
|
LocalTime string `protobuf:"bytes,7,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"`
|
||||||
// forecase for the next number of days
|
// forecast for the next number of days
|
||||||
Forecast []*Forecast `protobuf:"bytes,8,rep,name=forecast,proto3" json:"forecast,omitempty"`
|
Forecast []*Forecast `protobuf:"bytes,8,rep,name=forecast,proto3" json:"forecast,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -429,7 +429,7 @@ type NowResponse struct {
|
|||||||
Daytime bool `protobuf:"varint,14,opt,name=daytime,proto3" json:"daytime,omitempty"`
|
Daytime bool `protobuf:"varint,14,opt,name=daytime,proto3" json:"daytime,omitempty"`
|
||||||
// the weather condition
|
// the weather condition
|
||||||
Condition string `protobuf:"bytes,15,opt,name=condition,proto3" json:"condition,omitempty"`
|
Condition string `protobuf:"bytes,15,opt,name=condition,proto3" json:"condition,omitempty"`
|
||||||
// the related icon
|
// the URL of the related icon. Simply prefix with either http or https to use it
|
||||||
IconUrl string `protobuf:"bytes,16,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
|
IconUrl string `protobuf:"bytes,16,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
|
||||||
// wind in mph
|
// wind in mph
|
||||||
WindMph float64 `protobuf:"fixed64,17,opt,name=wind_mph,json=windMph,proto3" json:"wind_mph,omitempty"`
|
WindMph float64 `protobuf:"fixed64,17,opt,name=wind_mph,json=windMph,proto3" json:"wind_mph,omitempty"`
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ message NowResponse {
|
|||||||
bool daytime = 14;
|
bool daytime = 14;
|
||||||
// the weather condition
|
// the weather condition
|
||||||
string condition = 15;
|
string condition = 15;
|
||||||
// the related icon
|
// the URL of the related icon. Simply prefix with either http or https to use it
|
||||||
string icon_url = 16;
|
string icon_url = 16;
|
||||||
// wind in mph
|
// wind in mph
|
||||||
double wind_mph = 17;
|
double wind_mph = 17;
|
||||||
|
|||||||
Reference in New Issue
Block a user