Going once... going twice!

This commit is contained in:
Adam Ierymenko 2019-09-21 15:04:00 -07:00
parent 9934a856dd
commit bb53ee9567
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
14 changed files with 393 additions and 640 deletions

View file

@ -13,7 +13,12 @@
package zerotier
import "time"
import (
"encoding/base32"
"time"
)
var base32StdLowerCase = base32.NewEncoding("abcdefghijklmnopqrstuvwxyz234567")
// TimeMs returns the time in milliseconds since epoch.
func TimeMs() int64 { return int64(time.Now().UnixNano()) / int64(1000000) }