定义缓存和队列接口

This commit is contained in:
linwenxiang
2020-08-05 23:31:01 +08:00
parent b9d30eee88
commit b57af6c542
+3
View File
@@ -21,4 +21,7 @@ type Message interface {
SetID(string)
SetStream(string)
SetValue(map[string]interface{})
GetID() string
GetStream() string
GetValue() map[string]interface{}
}