Refactored all the things!

This commit is contained in:
9seconds
2018-07-07 20:18:16 +03:00
parent 4262e5f5de
commit f82ff1f6fe
24 changed files with 427 additions and 515 deletions
-5
View File
@@ -5,7 +5,6 @@ import (
"fmt"
"net"
"strconv"
"time"
"github.com/juju/errors"
)
@@ -14,10 +13,6 @@ import (
const (
BufferWriteSize = 32 * 1024
BufferReadSize = 32 * 1024
BufferSizeCopy = 32 * 1024
TimeoutRead = time.Minute
TimeoutWrite = time.Minute
)
// Config represents common configuration of mtg.