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