mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-16 14:10:04 +00:00
Clarify the use of groupcache.NewHTTPPoolOpts()
in the documentation
Fixes #20
This commit is contained in:
parent
8672aac324
commit
65c4ea5d77
@ -149,4 +149,5 @@ func ExampleUsage() {
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
### Note
|
||||
The call to `groupcache.NewHTTPPoolOpts()` is a bit misleading. `NewHTTPPoolOpts()` creates a new pool internally within the `groupcache` package where it is uitilized by any groups created. The `pool` returned is only a pointer to the internallly registered pool so the caller can update the peers in the pool as needed.
|
||||
|
Loading…
Reference in New Issue
Block a user