Imports github.com/denisbrodbeck/machineid github.com/mattn/go-sqlite3 github.com/seldonsmule/logmsg github.com/seldonsmule/restapi golang.org/x/crypto/ssh/terminal Standard library imports bufio crypto/rand crypto/sha256 database/sql encoding/base64 encoding/json fmt io io/ioutil net/http os strconv strings syscall time