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