Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithNameFile = func(name string) OptFunc { return func(opt *Opt) { opt.DeviceNamePath = name } }
WithNameFile 自定义设备名文件
View Source
var WithSnFile = func(name string) OptFunc { return func(opt *Opt) { opt.SerialNoPath = name } }
WithSnFile 自定义序列号文件
Functions ¶
func UpdateName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.