mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
fix prot
This commit is contained in:
@@ -21,7 +21,7 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
// Publish a message to the mq. Specify a topic to group messages for a specific topic.
|
// Publish a message. Specify a topic to group messages for a specific topic.
|
||||||
type PublishRequest struct {
|
type PublishRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -166,7 +166,6 @@ func (x *SubscribeRequest) GetTopic() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
// A blocking mq will be returned in response.
|
|
||||||
type SubscribeResponse struct {
|
type SubscribeResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ service Mq {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Publish a message. Specify a topic to group messages for a specific topic.
|
// Publish a message. Specify a topic to group messages for a specific topic.
|
||||||
message PublishReque st {
|
message PublishRequest {
|
||||||
// The topic to publish to
|
// The topic to publish to
|
||||||
string topic = 1;
|
string topic = 1;
|
||||||
// The json message to publish
|
// The json message to publish
|
||||||
|
|||||||
Reference in New Issue
Block a user