mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
feat: add uixt action handler
This commit is contained in:
@@ -38,6 +38,9 @@ func NewServer(port int) error {
|
||||
apiV1PlatformSerial.POST("/stub/login", handleDeviceContext(), loginHandler)
|
||||
apiV1PlatformSerial.POST("/stub/logout", handleDeviceContext(), logoutHandler)
|
||||
|
||||
// run uixt actions
|
||||
apiV1PlatformSerial.POST("/uixt/action", handleDeviceContext(), uixtActionHandler)
|
||||
|
||||
err := router.Run(fmt.Sprintf("127.0.0.1:%d", port))
|
||||
if err != nil {
|
||||
log.Err(err).Msg("failed to start http server")
|
||||
|
||||
Reference in New Issue
Block a user