package
Version:
v0.5.8
Opens a new window with list of versions in this module.
Published: Nov 19, 2014
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
It is recommend to use this way
cacheDir := "./cache"
defaultImg := "./default.jpg"
http.Handle("/avatar/", avatar.CacheServer(cacheDir, defaultImg))
http.Handle("/avatar/", avatar.CacheServer("./cache"))
hash email to md5 string
keep this func in order to make this package indenpent
Avatar represents the avatar object.
default image format: jpeg
get image from gravatar.com
type Thunder struct {
QueueSize int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.