Documentation
¶
Index ¶
- Variables
- type HiRequest
- func (x *HiRequest) GetMessage() string
- func (x *HiRequest) GetTopic() string
- func (x *HiRequest) GetUid() string
- func (*HiRequest) ProtoMessage()
- func (x *HiRequest) ProtoReflect() protoreflect.Message
- func (x *HiRequest) Reset()
- func (x *HiRequest) SetMessage(v string)
- func (x *HiRequest) SetTopic(v string)
- func (x *HiRequest) SetUid(v string)
- func (x *HiRequest) String() string
- type HiRequest_builder
- type HiResponse
- type HiResponse_builder
- type WatchRequest
- func (x *WatchRequest) GetTopic() string
- func (x *WatchRequest) GetUid() string
- func (*WatchRequest) ProtoMessage()
- func (x *WatchRequest) ProtoReflect() protoreflect.Message
- func (x *WatchRequest) Reset()
- func (x *WatchRequest) SetTopic(v string)
- func (x *WatchRequest) SetUid(v string)
- func (x *WatchRequest) String() string
- type WatchRequest_builder
- type WatchResponse
- type WatchResponse_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_demo_demo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HiRequest ¶
type HiRequest struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
// contains filtered or unexported fields
}
func (*HiRequest) ProtoReflect ¶
func (x *HiRequest) ProtoReflect() protoreflect.Message
type HiRequest_builder ¶
type HiRequest_builder struct {
Uid string
Message string
Topic string
// contains filtered or unexported fields
}
func (HiRequest_builder) Build ¶
func (b0 HiRequest_builder) Build() *HiRequest
type HiResponse ¶
type HiResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*HiResponse) GetMessage ¶
func (x *HiResponse) GetMessage() string
func (*HiResponse) ProtoMessage ¶
func (*HiResponse) ProtoMessage()
func (*HiResponse) ProtoReflect ¶
func (x *HiResponse) ProtoReflect() protoreflect.Message
func (*HiResponse) Reset ¶
func (x *HiResponse) Reset()
func (*HiResponse) SetMessage ¶
func (x *HiResponse) SetMessage(v string)
func (*HiResponse) String ¶
func (x *HiResponse) String() string
type HiResponse_builder ¶
type HiResponse_builder struct {
Message string
// contains filtered or unexported fields
}
func (HiResponse_builder) Build ¶
func (b0 HiResponse_builder) Build() *HiResponse
type WatchRequest ¶
type WatchRequest struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
// contains filtered or unexported fields
}
func (*WatchRequest) GetTopic ¶
func (x *WatchRequest) GetTopic() string
func (*WatchRequest) GetUid ¶
func (x *WatchRequest) GetUid() string
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) SetTopic ¶
func (x *WatchRequest) SetTopic(v string)
func (*WatchRequest) SetUid ¶
func (x *WatchRequest) SetUid(v string)
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
type WatchRequest_builder ¶
type WatchRequest_builder struct {
Uid string
Topic string
// contains filtered or unexported fields
}
func (WatchRequest_builder) Build ¶
func (b0 WatchRequest_builder) Build() *WatchRequest
type WatchResponse ¶
type WatchResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*WatchResponse) GetMessage ¶
func (x *WatchResponse) GetMessage() string
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) SetMessage ¶
func (x *WatchResponse) SetMessage(v string)
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string
type WatchResponse_builder ¶
type WatchResponse_builder struct {
Message string
// contains filtered or unexported fields
}
func (WatchResponse_builder) Build ¶
func (b0 WatchResponse_builder) Build() *WatchResponse
Source Files
¶
- demo.pb.go
Click to show internal directories.
Click to hide internal directories.