Documentation ¶
Index ¶
- Variables
- type DemoEvent
- func (*DemoEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DemoEvent) GetCity() string
- func (x *DemoEvent) GetTemperature() int64
- func (x *DemoEvent) GetTimestamp() int64
- func (*DemoEvent) ProtoMessage()
- func (x *DemoEvent) ProtoReflect() protoreflect.Message
- func (x *DemoEvent) Reset()
- func (x *DemoEvent) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_examples_proto_event_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DemoEvent ¶
type DemoEvent struct { City string `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Temperature int64 `protobuf:"varint,3,opt,name=temperature,proto3" json:"temperature,omitempty"` // contains filtered or unexported fields }
* 处理演示异步服务对象(event事件)
func (*DemoEvent) Descriptor
deprecated
func (*DemoEvent) GetTemperature ¶
func (*DemoEvent) GetTimestamp ¶
func (*DemoEvent) ProtoMessage ¶
func (*DemoEvent) ProtoMessage()
func (*DemoEvent) ProtoReflect ¶
func (x *DemoEvent) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.