Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.