device

package
v0.0.0-...-94da729 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenIMEI

func GenIMEI(randGen *rand.Rand) string

func GenNewGuid

func GenNewGuid(info *client.DeviceInfo)

func GenNewTgtgtKey

func GenNewTgtgtKey(randGen *rand.Rand, info *client.DeviceInfo)

func GetDevice

func GetDevice(seed int64, clientProtocol int32) *client.DeviceInfo

GetDevice 如果设备文件夹不存在,自动创建文件夹 使用种子生成随机设备信息 如果已有设备文件,使用已有设备信息覆盖 存储设备信息到文件

func RandDevice

func RandDevice(randGen *rand.Rand) *client.DeviceInfo

Types

This section is empty.

Jump to

Keyboard shortcuts

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