mirror of
https://github.com/mailgun/groupcache.git
synced 2024-10-01 12:22:08 +00:00
http.go: Added missing word from NewHTTPPool docs
This commit is contained in:
parent
6159c0a623
commit
361310ca19
2
http.go
2
http.go
@ -74,7 +74,7 @@ type HTTPPoolOptions struct {
|
|||||||
|
|
||||||
// NewHTTPPool initializes an HTTP pool of peers, and registers itself as a PeerPicker.
|
// NewHTTPPool initializes an HTTP pool of peers, and registers itself as a PeerPicker.
|
||||||
// For convenience, it also registers itself as an http.Handler with http.DefaultServeMux.
|
// For convenience, it also registers itself as an http.Handler with http.DefaultServeMux.
|
||||||
// The self argument be a valid base URL that points to the current server,
|
// The self argument should be a valid base URL that points to the current server,
|
||||||
// for example "http://example.net:8000".
|
// for example "http://example.net:8000".
|
||||||
func NewHTTPPool(self string) *HTTPPool {
|
func NewHTTPPool(self string) *HTTPPool {
|
||||||
p := NewHTTPPoolOpts(self, nil)
|
p := NewHTTPPoolOpts(self, nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user