Versions in this module Expand all Collapse all v0 v0.3.0 Apr 21, 2014 v0.2.0 Mar 31, 2014 Changes in this version + func CacheServer(cacheDir string, defaultImgPath string) http.Handler + func HashEmail(email string) string + type Avatar struct + AlterImage string + Hash string + func New(hash string, cacheDir string) *Avatar + func (this *Avatar) Encode(wr io.Writer, size int) (err error) + func (this *Avatar) Expired() bool + func (this *Avatar) HasCache() bool + func (this *Avatar) Modtime() (modtime time.Time, err error) + func (this *Avatar) Update() + func (this *Avatar) UpdateTimeout(timeout time.Duration) (err error) + type Thunder struct + QueueSize int + func (t *Thunder) Fetch(url string, saveFile string) error + func (t *Thunder) GoFetch(url, saveFile string) chan error