定义缓存和队列接口

This commit is contained in:
linwenxiang committed 2020-08-05 23:31:01 +08:00
1 parent b9d30eee88
commit b57af6c542
1 file changed
+3
+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{}
}