mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-19 05:13:57 +00:00
Update README.md
This commit is contained in:
parent
f90a77a9bb
commit
e1f81f6bb1
@ -97,7 +97,7 @@ func ExampleUsage() {
|
|||||||
pool := groupcache.NewHTTPPoolOpts("http://localhost:8080", &groupcache.HTTPPoolOptions{})
|
pool := groupcache.NewHTTPPoolOpts("http://localhost:8080", &groupcache.HTTPPoolOptions{})
|
||||||
|
|
||||||
// Add more peers to the cluster
|
// Add more peers to the cluster
|
||||||
//pool.Set("http://peer1:8080", "http://peer2:8080")
|
pool.Set("http://peer1:8080", "http://peer2:8080")
|
||||||
|
|
||||||
server := http.Server{
|
server := http.Server{
|
||||||
Addr: "localhost:8080",
|
Addr: "localhost:8080",
|
||||||
|
Loading…
Reference in New Issue
Block a user