MCPcopy Create free account
hub / github.com/HashLoad/boss / GetMachineID

Function GetMachineID

utils/crypto/main.go:64–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 return
63}
64func GetMachineID() string {
65 id, e := machineid.ID()
66 if e != nil {
67 msg.Err("Error on get machine ID")
68 id = "AAAA"
69 }
70 return id
71}
72
73func Md5MachineID() string {
74 hash := md5.New()

Callers 2

configuration.goFile · 0.92
Md5MachineIDFunction · 0.85

Calls 1

ErrFunction · 0.92

Tested by

no test coverage detected