allow bridge mq cost msg (#162)

This commit is contained in:
ZhangJian He authored and GitHub committed 2022-05-20 21:27:48 +08:00
1 parent 92758c8c85
commit 5dc2114daf
7 files changed
+21 -14

No files matched your search

+2 -1
View File
@@ -37,7 +37,8 @@ const (
)
type BridgeMQ interface {
Publish(e *Elements) error
// Publish return true to cost the message
Publish(e *Elements) (bool, error)
}
func NewBridgeMQ(name string) BridgeMQ {