定义缓存和队列接口
This commit is contained in:
1 parent
b9d30eee88
commit
b57af6c542
1 file changed
+3
Vendored
+3
@@ -21,4 +21,7 @@ type Message interface {
|
|||||||
SetID(string)
|
SetID(string)
|
||||||
SetStream(string)
|
SetStream(string)
|
||||||
SetValue(map[string]interface{})
|
SetValue(map[string]interface{})
|
||||||
|
GetID() string
|
||||||
|
GetStream() string
|
||||||
|
GetValue() map[string]interface{}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user