| 19 | ) |
| 20 | |
| 21 | type TCPClient struct { |
| 22 | Client *net.TCPConn |
| 23 | Buffer []byte |
| 24 | BufferSize int64 |
| 25 | MS bytes.Buffer |
| 26 | IsConnected bool |
| 27 | SendSync sync.Mutex |
| 28 | ActivatePong bool |
| 29 | RemarkMessage string |
| 30 | RemarkClientColor string |
| 31 | keepAlive *time.Ticker |
| 32 | } |
| 33 | |
| 34 | func init() { |
| 35 | link.ReportError = communication.ErrorProcess |
| 36 | link.ReportData = communication.DataProcess |
nothing calls this directly
no outgoing calls
no test coverage detected