Imports github.com/astaxie/beego github.com/astaxie/beego/utils github.com/astaxie/beego/cache github.com/astaxie/beego/context Standard library imports bytes crypto/rand encoding/binary fmt io math net/http path strings sync time image/png image image/color html/template