services

package
v0.0.0-...-55d14b2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedPlatform = errors.New("unsupported platform")
	ErrDeadlineExceeded    = errors.New("command deadline exceeded")
)

Functions

This section is empty.

Types

type Delete

type Delete interface {
	DeleteFile(filepath string) error
}

type Download

type Download interface {
	DownloadFile(filepath string) ([]byte, error)
}

type Explorer

type Explorer interface {
	ExploreDirectory(path string) (*entities.FileExplorer, error)
}

type Information

type Information interface {
	LoadDeviceSpecs() (*entities.Device, error)
}

type OS

type OS interface {
	Restart() error
	Shutdown() error
	Lock() error
	SignOut() error
}

type Screenshot

type Screenshot interface {
	TakeScreenshot() ([]byte, error)
}

type Terminal

type Terminal interface {
	Run(command string) ([]byte, error)
}

type Upload

type Upload interface {
	UploadFile(path string) ([]byte, error)
}

type Url

type Url interface {
	OpenUrl(url string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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