Documentation
¶
Index ¶
- func GetLocalIP() (ips []string)
- func GetLocalMac() (macAddrs []string)
- func GetMustMachineCode() string
- func GetMustMachineCode2() string
- func GetMustOneLocalIP() string
- func GetMustOneLocalMac() string
- func NewAppKID() string
- func NewIdxCode(size int, idx int64, x62 bool) string
- func NewNowCode(size int, x64 bool) string
- func NewOrgKID(id int64) string
- func NewRandomCode(size int, x64 bool) string
- func NewRoleKID() string
- func NewSequenceCode(size int, x62 bool) string
- func NewUsrKID(id int64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMustMachineCode ¶
func GetMustMachineCode() string
GetMustMachineCode 获取设备机器码, 4位 有限使用IP后2位, 不存在使用Mac后2位, 不存在使用“0000”
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.