gtgo_sys

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GTGetBaseBoardNo

func GTGetBaseBoardNo() (baseboard_id string)

func GTGetBiosNo

func GTGetBiosNo() (bios_no string)

func GTGetCPUNo

func GTGetCPUNo() (cpu_id string)

func GTGetDeviceSNFromMacOS

func GTGetDeviceSNFromMacOS() string

GTGetDeviceSNFromMacOS 获取Mac的SN号

func GTGetDiskNo

func GTGetDiskNo() (disk_seria_number string)

func GTGetDiskNoWithMac

func GTGetDiskNoWithMac() string

GTGetDiskNoWithMac 获取Mac 硬盘序列号

func GTGetHardUUIDFromMacOS

func GTGetHardUUIDFromMacOS() string

GTGetHardUUIDFromMacOS 获取Mac 系统的 UUID

func GTGetProvisioningHardUUIDFromMacOS

func GTGetProvisioningHardUUIDFromMacOS() string

GTGetProvisioningHardUUIDFromMacOS 获取Mac系统的ProvisionUUID

Types

type GTHardInfo

type GTHardInfo struct {
	CPUNumber       string `json:"cpu_number"`
	DiskNumber      string `json:"disk_number"`
	BaseBoardNumber string `json:"base_board_number"`
	BiosNumber      string `json:"bios_number"`
}

func GTGetHardInfo

func GTGetHardInfo() *GTHardInfo

GTGetHardInfo 获取自定义唯一硬件号

Jump to

Keyboard shortcuts

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