Skip to content

Commit

Permalink
http.go: Added missing word from NewHTTPPool docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elimisteve committed Jan 9, 2017
1 parent 6159c0a commit 361310c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:https://example.net:8000".
func NewHTTPPool(self string) *HTTPPool {
p := NewHTTPPoolOpts(self, nil)
Expand Down

0 comments on commit 361310c

Please sign in to comment.