Add syncPair

This commit is contained in:
9seconds
2021-11-30 14:37:25 +03:00
parent 4c75066ef8
commit a5e59d9ef7
4 changed files with 88 additions and 28 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
package relay
import "time"
const (
bufferSize = 32 * 1024
copyBufferSize = 32 * 1024
writerBufferSize = 2 * copyBufferSize
readTimeout = 10 * time.Millisecond
)
type Logger interface {