Versions in this module Expand all Collapse all v0 v0.1.1 Oct 27, 2022 v0.1.0 Oct 27, 2022 Changes in this version + var File_openweather_openweatherv1_proto protoreflect.FileDescriptor + var Openweather_ServiceDesc = grpc.ServiceDesc + func RegisterOpenweatherServer(s grpc.ServiceRegistrar, srv OpenweatherServer) + type GetWeatherRequest struct + MinReadTime *timestamppb.Timestamp + Query string + func (*GetWeatherRequest) Descriptor() ([]byte, []int) + func (*GetWeatherRequest) ProtoMessage() + func (x *GetWeatherRequest) GetMinReadTime() *timestamppb.Timestamp + func (x *GetWeatherRequest) GetQuery() string + func (x *GetWeatherRequest) ProtoReflect() protoreflect.Message + func (x *GetWeatherRequest) Reset() + func (x *GetWeatherRequest) String() string + type OpenweatherClient interface + GetWeather func(ctx context.Context, in *GetWeatherRequest, opts ...grpc.CallOption) (*Weather, error) + func NewOpenweatherClient(cc grpc.ClientConnInterface) OpenweatherClient + type OpenweatherServer interface + GetWeather func(context.Context, *GetWeatherRequest) (*Weather, error) + type UnimplementedOpenweatherServer struct + func (UnimplementedOpenweatherServer) GetWeather(context.Context, *GetWeatherRequest) (*Weather, error) + type UnsafeOpenweatherServer interface + type Weather struct + Location *location.Location + ReadTime *timestamppb.Timestamp + Temp float64 + WindSpeed float64 + func (*Weather) Descriptor() ([]byte, []int) + func (*Weather) ProtoMessage() + func (x *Weather) GetLocation() *location.Location + func (x *Weather) GetReadTime() *timestamppb.Timestamp + func (x *Weather) GetTemp() float64 + func (x *Weather) GetWindSpeed() float64 + func (x *Weather) ProtoReflect() protoreflect.Message + func (x *Weather) Reset() + func (x *Weather) String() string