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