mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-22 08:18:29 +02:00
refactor: clean up code and enhance utilities with new functions
This commit is contained in:
@@ -106,12 +106,6 @@ func (p BidirectionalPipe) Start() gperr.Error {
|
||||
return b.Error()
|
||||
}
|
||||
|
||||
var copyBufPool = sync.Pool{
|
||||
New: func() any {
|
||||
return make([]byte, copyBufSize)
|
||||
},
|
||||
}
|
||||
|
||||
type httpFlusher interface {
|
||||
Flush() error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user