mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
[skip ci] Add comment for exported struct Allocator (#11795)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
6fd3b376e9
commit
f8583bb582
@ -123,6 +123,7 @@ func (t *Ticker) Chan() <-chan time.Time {
|
||||
return t.ticker.C
|
||||
}
|
||||
|
||||
// Allocator allocates from a global allocator by its given member funcs
|
||||
type Allocator struct {
|
||||
Ctx context.Context
|
||||
CancelFunc context.CancelFunc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user