示例#1
0
func (c *CacheContext) WriteModified(buf []byte, s store.ImageStore) error {
	return s.Put(c.Bucket, c.CacheKey(), buf, http.DetectContentType(buf))
}