ing
This commit is contained in:
parent
596532aa3c
commit
7bf33cff21
@ -14,6 +14,7 @@ type Client interface {
|
||||
ID() string
|
||||
Conn() *websocket.Conn
|
||||
Path() string
|
||||
run()
|
||||
}
|
||||
|
||||
type client struct {
|
||||
@ -34,8 +35,6 @@ func NewClient(id string, path string, o *ClientOptions, conn *websocket.Conn) C
|
||||
messageType: websocket.TextMessage,
|
||||
}
|
||||
|
||||
go c.run()
|
||||
|
||||
return c
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user