mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-13 13:40:30 +08:00
feat: impl. new protol design & new head
This commit is contained in:
10
internal/bin/pool.go
Normal file
10
internal/bin/pool.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package bin
|
||||
|
||||
import (
|
||||
"github.com/fumiama/orbyte/pbuf"
|
||||
)
|
||||
|
||||
// SelectWriter 从池中取出一个 Writer
|
||||
func SelectWriter() *Writer {
|
||||
return (*Writer)(pbuf.NewBuffer(nil))
|
||||
}
|
||||
Reference in New Issue
Block a user