From 4043701a4e9abe64b93f03381065eb0ec4b1caa8 Mon Sep 17 00:00:00 2001 From: ryjiang Date: Fri, 5 Nov 2021 13:22:17 +0800 Subject: [PATCH] [skip ci]Add comments in chap04_message_stream.md (#11289) Signed-off-by: ruiyi.jiang --- docs/developer_guides/chap04_message_stream.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/developer_guides/chap04_message_stream.md b/docs/developer_guides/chap04_message_stream.md index 1782ad3182..02e4f0b1d1 100644 --- a/docs/developer_guides/chap04_message_stream.md +++ b/docs/developer_guides/chap04_message_stream.md @@ -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)