Documentation ¶
Overview ¶
It is recommend to use this way
cacheDir := "./cache" defaultImg := "./default.jpg" http.Handle("/avatar/", avatar.CacheServer(cacheDir, defaultImg))
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheServer ¶
http.Handle("/avatar/", avatar.CacheServer("./cache"))
func UpdateGravatarSource ¶ added in v0.5.13
func UpdateGravatarSource()
Types ¶
Click to show internal directories.
Click to hide internal directories.