services

package
v0.0.0-...-4a84db8 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 2 Imported by: 0

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 URL

type URL interface {
	OpenURL(url string) error
}

type Upload

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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