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