Imports github.com/astaxie/beego/middleware github.com/astaxie/beego/session github.com/astaxie/beego/utils Standard library imports bytes compress/flate crypto/hmac encoding/base64 encoding/json encoding/xml errors fmt io io/ioutil net/http net/url path/filepath reflect strconv strings time mime crypto/sha1 html/template compress/gzip