Skip to content

Commit

Permalink
change MaxMsgLen type
Browse files Browse the repository at this point in the history
  • Loading branch information
name5566 committed Oct 21, 2015
1 parent 164fbb9 commit 3222761
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion network/ws_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type WSClient struct {
ConnNum int
ConnectInterval time.Duration
PendingWriteNum int
MaxMsgLen int
MaxMsgLen uint32
HandshakeTimeout time.Duration
NewAgent func(*WSConn) Agent
dialer websocket.Dialer
Expand Down
4 changes: 2 additions & 2 deletions network/ws_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type WSServer struct {
Addr string
MaxConnNum int
PendingWriteNum int
MaxMsgLen int
MaxMsgLen uint32
HTTPTimeout time.Duration
NewAgent func(*WSConn) Agent
ln net.Listener
Expand All @@ -23,7 +23,7 @@ type WSServer struct {
type WSHandler struct {
maxConnNum int
pendingWriteNum int
maxMsgLen int
maxMsgLen uint32
newAgent func(*WSConn) Agent
upgrader websocket.Upgrader
conns WebsocketConnSet
Expand Down

0 comments on commit 3222761

Please sign in to comment.