1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
This commit is contained in:
Darien Raymond 2016-12-06 17:26:51 +01:00
parent 7a641749a8
commit 5f6366d2fa
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -6,6 +6,7 @@ import (
"sync" "sync"
) )
// Pool provides functionality to generate and recycle buffers on demand.
type Pool interface { type Pool interface {
Allocate() *Buffer Allocate() *Buffer
Free(*Buffer) Free(*Buffer)