| 24 | ) |
| 25 | |
| 26 | type SimplePacketClient struct { |
| 27 | Server net.Conn |
| 28 | Password []byte |
| 29 | RB []byte |
| 30 | WB []byte |
| 31 | Timeout int |
| 32 | src string |
| 33 | dst string |
| 34 | dstl int |
| 35 | } |
| 36 | |
| 37 | func NewSimplePacketClient(password []byte, src string, server net.Conn, timeout int, dst []byte) (Exchanger, error) { |
| 38 | s := &SimplePacketClient{Password: password, Server: server, Timeout: timeout, src: src} |
nothing calls this directly
no outgoing calls
no test coverage detected