router

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndroidStreamProxy

func AndroidStreamProxy(c *gin.Context)

func AppiumReverseProxy

func AppiumReverseProxy(c *gin.Context)

func DeviceAppiumSource

func DeviceAppiumSource(c *gin.Context)

func DeviceClearText

func DeviceClearText(c *gin.Context)

func DeviceHealth

func DeviceHealth(c *gin.Context)

Check the device health by checking Appium and WDA(for iOS)

func DeviceHome

func DeviceHome(c *gin.Context)

Call the respective Appium/WDA endpoint to go to Homescreen

func DeviceInfo

func DeviceInfo(c *gin.Context)

func DeviceLock

func DeviceLock(c *gin.Context)

Call respective Appium/WDA endpoint to lock the device

func DeviceScreenshot

func DeviceScreenshot(c *gin.Context)

Call the respective Appium/WDA endpoint to take a screenshot of the device screen

func DeviceSwipe

func DeviceSwipe(c *gin.Context)

func DeviceTap

func DeviceTap(c *gin.Context)

func DeviceTouchAndHold

func DeviceTouchAndHold(c *gin.Context)

func DeviceTypeText

func DeviceTypeText(c *gin.Context)

func DeviceUnlock

func DeviceUnlock(c *gin.Context)

Call the respective Appium/WDA endpoint to unlock the device

func DevicesInfo

func DevicesInfo(c *gin.Context)

func GetProviderData

func GetProviderData(c *gin.Context)

func GetProviderDataWS added in v0.9.0

func GetProviderDataWS(c *gin.Context)

func HandleRequests

func HandleRequests() *gin.Engine

func InstallApp

func InstallApp(c *gin.Context)

func IosStreamProxyGADS added in v0.9.0

func IosStreamProxyGADS(c *gin.Context)

func IosStreamProxyWDA added in v0.9.0

func IosStreamProxyWDA(c *gin.Context)

func ResetDevice

func ResetDevice(c *gin.Context)

func UninstallApp

func UninstallApp(c *gin.Context)

func UploadFile

func UploadFile(c *gin.Context)

Types

type JsonErrorResponse

type JsonErrorResponse struct {
	EventName    string `json:"event"`
	ErrorMessage string `json:"error_message"`
}

type JsonResponse

type JsonResponse struct {
	Message string `json:"message"`
}

type ProcessApp

type ProcessApp struct {
	App string `json:"app"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL