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