 Documentation
      ¶
      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"))
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.