mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comments in chap04_message_stream.md (#11289)
Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
This commit is contained in:
parent
6149c49e06
commit
4043701a4e
@ -172,6 +172,7 @@ type RepackFunc func(msgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, erro
|
||||
// Interface
|
||||
type UnmarshalFunc func(interface{}) (TsMsg, error)
|
||||
|
||||
// UnmarshalDispatcher is an interface contains method Unmarshal
|
||||
type UnmarshalDispatcher interface {
|
||||
Unmarshal(input interface{}, msgType commonpb.MsgType) (TsMsg, error)
|
||||
AddMsgTemplate(msgType commonpb.MsgType, unmarshalFunc UnmarshalFunc)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user