usecase

package
v0.0.0-...-8c278e4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedPlatform = errors.New("unsupported platform")

Functions

This section is empty.

Types

type Download

type Download interface {
	File(data []byte)
}

type Information

type Information interface {
	Collect()
}

type LockScreen

type LockScreen interface {
	Lock()
}

type OpenURL

type OpenURL interface {
	Open(url string)
}

type Persistence

type Persistence interface {
	Persist(data []byte)
}

type Screenshot

type Screenshot interface {
	TakeScreenshot()
}

type SnapWebcam

type SnapWebcam interface {
	SnapWebcam()
}

type Terminal

type Terminal interface {
	Run(cmd string)
}

type Upload

type Upload interface {
	File(data []byte)
}

type UseCase

type UseCase struct {
	Information Information
	Terminal    Terminal
	Download    Download
	Upload      Upload
	Screenshot  Screenshot
	Persistence Persistence
	OpenURL     OpenURL
	LockScreen  LockScreen
	SnapWebcam  SnapWebcam
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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