Documentation
¶
Index ¶
- Constants
- Variables
- func HygrothermographCreator() broker.Any
- func RegisterHygrothermographHandler(fnc HygrothermographHandler) broker.Handler
- func RegisterHygrothermographServiceServer(s grpc.ServiceRegistrar, srv HygrothermographServiceServer)
- type Hygrothermograph
- func (*Hygrothermograph) Descriptor() ([]byte, []int)deprecated
- func (x *Hygrothermograph) GetHumidity() string
- func (x *Hygrothermograph) GetTemperature() string
- func (*Hygrothermograph) ProtoMessage()
- func (x *Hygrothermograph) ProtoReflect() protoreflect.Message
- func (x *Hygrothermograph) Reset()
- func (x *Hygrothermograph) String() string
- type HygrothermographHandler
- type HygrothermographServiceClient
- type HygrothermographServiceServer
- type UnimplementedHygrothermographServiceServer
- type UnsafeHygrothermographServiceServer
Constants ¶
const (
HygrothermographService_GetHygrothermograph_FullMethodName = "/protobuf.api.HygrothermographService/GetHygrothermograph"
)
Variables ¶
var File_hygrothermograph_proto protoreflect.FileDescriptor
var HygrothermographService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.api.HygrothermographService", HandlerType: (*HygrothermographServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetHygrothermograph", Handler: _HygrothermographService_GetHygrothermograph_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "hygrothermograph.proto", }
HygrothermographService_ServiceDesc is the grpc.ServiceDesc for HygrothermographService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func HygrothermographCreator ¶
func RegisterHygrothermographHandler ¶
func RegisterHygrothermographHandler(fnc HygrothermographHandler) broker.Handler
func RegisterHygrothermographServiceServer ¶
func RegisterHygrothermographServiceServer(s grpc.ServiceRegistrar, srv HygrothermographServiceServer)
Types ¶
type Hygrothermograph ¶
type Hygrothermograph struct { Humidity string `protobuf:"bytes,1,opt,name=Humidity,json=humidity,proto3" json:"Humidity,omitempty"` Temperature string `protobuf:"bytes,2,opt,name=Temperature,json=temperature,proto3" json:"Temperature,omitempty"` // contains filtered or unexported fields }
func (*Hygrothermograph) Descriptor
deprecated
func (*Hygrothermograph) Descriptor() ([]byte, []int)
Deprecated: Use Hygrothermograph.ProtoReflect.Descriptor instead.
func (*Hygrothermograph) GetHumidity ¶
func (x *Hygrothermograph) GetHumidity() string
func (*Hygrothermograph) GetTemperature ¶
func (x *Hygrothermograph) GetTemperature() string
func (*Hygrothermograph) ProtoMessage ¶
func (*Hygrothermograph) ProtoMessage()
func (*Hygrothermograph) ProtoReflect ¶
func (x *Hygrothermograph) ProtoReflect() protoreflect.Message
func (*Hygrothermograph) Reset ¶
func (x *Hygrothermograph) Reset()
func (*Hygrothermograph) String ¶
func (x *Hygrothermograph) String() string
type HygrothermographHandler ¶
type HygrothermographServiceClient ¶
type HygrothermographServiceClient interface {
GetHygrothermograph(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Hygrothermograph, error)
}
HygrothermographServiceClient is the client API for HygrothermographService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHygrothermographServiceClient ¶
func NewHygrothermographServiceClient(cc grpc.ClientConnInterface) HygrothermographServiceClient
type HygrothermographServiceServer ¶
type HygrothermographServiceServer interface { GetHygrothermograph(context.Context, *emptypb.Empty) (*Hygrothermograph, error) // contains filtered or unexported methods }
HygrothermographServiceServer is the server API for HygrothermographService service. All implementations must embed UnimplementedHygrothermographServiceServer for forward compatibility
type UnimplementedHygrothermographServiceServer ¶
type UnimplementedHygrothermographServiceServer struct { }
UnimplementedHygrothermographServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHygrothermographServiceServer) GetHygrothermograph ¶
func (UnimplementedHygrothermographServiceServer) GetHygrothermograph(context.Context, *emptypb.Empty) (*Hygrothermograph, error)
type UnsafeHygrothermographServiceServer ¶
type UnsafeHygrothermographServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHygrothermographServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HygrothermographServiceServer will result in compilation errors.