| 31 | ) |
| 32 | |
| 33 | type PacketClient struct { |
| 34 | Server net.Conn |
| 35 | Password []byte |
| 36 | RB []byte |
| 37 | WB []byte |
| 38 | Timeout int |
| 39 | src string |
| 40 | dstb []byte |
| 41 | } |
| 42 | |
| 43 | func NewPacketClient(password []byte, src string, server net.Conn, timeout int, dstb []byte) (Exchanger, error) { |
| 44 | s := &PacketClient{Password: password, Server: server, Timeout: timeout, src: src} |
nothing calls this directly
no outgoing calls
no test coverage detected