mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for NewProxy (#9415)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/9421/head
parent
c8615f6872
commit
59265ed753
|
@ -83,6 +83,7 @@ type Proxy struct {
|
|||
closeCallbacks []func()
|
||||
}
|
||||
|
||||
// NewProxy returns a Proxy struct.
|
||||
func NewProxy(ctx context.Context, factory msgstream.Factory) (*Proxy, error) {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
ctx1, cancel := context.WithCancel(ctx)
|
||||
|
|
Loading…
Reference in New Issue