forked from External/ergo
Make channels synchronous.
This commit is contained in:
parent
74aaf2f9d3
commit
0001131095
5 changed files with 7 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ type ClientSet map[*Client]bool
|
|||
func NewClient(server *Server, conn net.Conn) *Client {
|
||||
read := StringReadChan(conn)
|
||||
write := StringWriteChan(conn)
|
||||
replies := make(chan Reply, 1)
|
||||
replies := make(chan Reply)
|
||||
|
||||
client := &Client{
|
||||
conn: conn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue