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