Imports github.com/gorilla/mux github.com/gorilla/securecookie upper.io/db.v3/lib/sqlbuilder upper.io/db.v3/mysql Standard library imports bytes crypto/sha256 encoding/hex encoding/json fmt log math/rand net/http os strconv time