mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-08 01:09:44 +08:00
refactor: move gidevice to hrp pkg
This commit is contained in:
@@ -11,22 +11,22 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
giDevice "github.com/electricbubble/gidevice"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"github.com/httprunner/httprunner/v4/hrp/internal/code"
|
||||
"github.com/httprunner/httprunner/v4/hrp/internal/json"
|
||||
"github.com/httprunner/httprunner/v4/hrp/pkg/gidevice"
|
||||
)
|
||||
|
||||
type wdaDriver struct {
|
||||
Driver
|
||||
|
||||
// default port
|
||||
defaultConn giDevice.InnerConn
|
||||
defaultConn gidevice.InnerConn
|
||||
|
||||
// mjpeg port
|
||||
mjpegUSBConn giDevice.InnerConn // via USB
|
||||
mjpegUSBConn gidevice.InnerConn // via USB
|
||||
mjpegHTTPConn net.Conn // via HTTP
|
||||
mjpegClient *http.Client
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user