gtbox_sys

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: BSD-3-Clause Imports: 4 Imported by: 1

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 获取自定义唯一硬件号

Directories

Path Synopsis
Package gtbox_sys_net_optimize 主要提供网络并发优化功能
Package gtbox_sys_net_optimize 主要提供网络并发优化功能

Jump to

Keyboard shortcuts

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