Test and code refactor

This commit is contained in:
Mickael Remond
2018-01-17 18:47:34 +01:00
parent d33490cdc0
commit 993ca630f7
5 changed files with 75 additions and 75 deletions

View File

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