style: fmt

This commit is contained in:
exfly
2019-08-10 11:15:25 +08:00
parent 5fcbeb60aa
commit b0d16d3b3d
43 changed files with 182 additions and 141 deletions

View File

@@ -4,12 +4,13 @@ import (
"bytes"
"encoding/binary"
"errors"
"github.com/cnlh/nps/lib/pool"
"math"
"net"
"sync"
"sync/atomic"
"time"
"github.com/cnlh/nps/lib/pool"
)
const (
@@ -174,7 +175,7 @@ func (s *Mux) readSession() {
case conn.getStatusCh <- struct{}{}:
default:
}
conn.hasWrite --
conn.hasWrite--
case MUX_NEW_CONN_OK: //conn ok
conn.connStatusOkCh <- struct{}{}
case MUX_NEW_CONN_Fail: