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