Merge pull request #78 from elimisteve/patch-2

http.go: Added missing word from NewHTTPPool docs
This commit is contained in:
Brad Fitzpatrick 2017-01-09 12:54:48 -08:00 committed by GitHub
commit 72d04f9fcd

View File

@ -74,7 +74,7 @@ type HTTPPoolOptions struct {
// 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.
// 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".
func NewHTTPPool(self string) *HTTPPool {
p := NewHTTPPoolOpts(self, nil)