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