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