UoTPacketConn adapts a net.Conn with the Sudoku UoT framing to net.PacketConn.
| 55 | |
| 56 | // UoTPacketConn adapts a net.Conn with the Sudoku UoT framing to net.PacketConn. |
| 57 | type UoTPacketConn struct { |
| 58 | conn net.Conn |
| 59 | writeMu sync.Mutex |
| 60 | } |
| 61 | |
| 62 | func NewUoTPacketConn(conn net.Conn) *UoTPacketConn { |
| 63 | return &UoTPacketConn{conn: conn} |
nothing calls this directly
no outgoing calls
no test coverage detected