device

package
v0.0.0-...-329d92c Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Android

type Android struct{}

Android android

func NewAndroid

func NewAndroid(cfg *util.Config) *Android

NewAndroid new

func (*Android) GetImage

func (android *Android) GetImage() (img image.Image, err error)

GetImage 直接读取adb截图数据,速度更快

type IOS

type IOS struct {
	// contains filtered or unexported fields
}

IOS 获取iOS截图

func NewIOS

func NewIOS(cfg *util.Config) *IOS

NewIOS new

func (*IOS) GetImage

func (ios *IOS) GetImage() (img image.Image, err error)

GetImage 返回图片生成的路径

Jump to

Keyboard shortcuts

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