This commit is contained in:
Darien Raymond
2016-12-06 17:26:51 +01:00
parent 7a641749a8
commit 5f6366d2fa
+1
View File
@@ -6,6 +6,7 @@ import (
"sync"
)
// Pool provides functionality to generate and recycle buffers on demand.
type Pool interface {
Allocate() *Buffer
Free(*Buffer)