mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 08:14:02 +03:00
Add syncPair
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user