golang/groupcache — pull request #33 by fumin (2014-10-01 07:26:41+00:00)
Title: allow all options of HTTPPool to be specified by users

The default constructor `NewHTTPPool ` is making too many assumptions about how people would use the library. For example, for security purpose I'd want groupcache to listen on a different port by calling Handle on a different ServeMux other than the `http.DefaultServeMux`. Others have also requested to be able to specify the basePath perhaps to shorter paths for performance reasons https://github.com/golang/groupcache/issues/22 ?