(buf []byte)
| 55 | } |
| 56 | |
| 57 | func (c *tcpClient) Write(buf []byte) tcpResponse { |
| 58 | wrote, err := c.con.Write(buf) |
| 59 | return tcpResponse{ |
| 60 | Error: err, |
| 61 | Size: wrote, |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | func (c *tcpClient) Close() error { |
| 66 | return c.con.Close() |
no outgoing calls
no test coverage detected