Keeps component connection open

This commit is contained in:
Mickael Remond
2018-01-12 19:08:47 +01:00
parent b21fee420f
commit 24ac2c0526
4 changed files with 21 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ func (c *Client) Recv() <-chan interface{} {
// Send sends message text.
func (c *Client) Send(packet string) error {
fmt.Fprintf(c.Session.socketProxy, packet)
fmt.Fprintf(c.Session.socketProxy, packet) // TODO handle errors
return nil
}