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