diff --git a/common/alloc/buffer_pool.go b/common/alloc/buffer_pool.go index 5d8ac0dd5..d8bc21dac 100644 --- a/common/alloc/buffer_pool.go +++ b/common/alloc/buffer_pool.go @@ -6,6 +6,7 @@ import ( "sync" ) +// Pool provides functionality to generate and recycle buffers on demand. type Pool interface { Allocate() *Buffer Free(*Buffer)