Add Proxy implementation Assertion (#9204)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/9214/head
congqixia 2021-10-04 17:28:30 +08:00 committed by GitHub
parent 9b65aad4cf
commit 365882ddf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ type Timestamp = typeutil.Timestamp
const sendTimeTickMsgInterval = 200 * time.Millisecond
const channelMgrTickerInterval = 100 * time.Millisecond
// make sure Proxy implements types.Proxy
var _ types.Proxy = (*Proxy)(nil)
type Proxy struct {
ctx context.Context
cancel func()