Documentation ¶
Index ¶
- func CheckRoot() bool
- func GetDrives() ([]string, error)
- func GetFileData(file string) ([]byte, error)
- func GetFileSize(file string) (int64, error)
- func GetUsers() ([]string, error)
- func GetWindowsVersion() (int, error)
- func GpuName() ([]string, error)
- func ListFiles(dir string) ([]string, error)
- func MachineGuid() (string, error)
- type RegKeyData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileData ¶
GetFileData returns the data of a file as a byte slice
func GetFileSize ¶
GetFileSize returns the size of a file in bytes
func GetWindowsVersion ¶
GetWindowsVersion returns the version of windows running on the host machine
Types ¶
type RegKeyData ¶
RegKeyData is a struct for storing the data of a registry key
func GetRegKeyData ¶
func GetRegKeyData(key string) RegKeyData
GetRegKeyData gets the data from a registry key and returns a RegKeyData struct
Click to show internal directories.
Click to hide internal directories.