Skip to content

Commit

Permalink
Dialer doco fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Bishop authored and gdamore committed Sep 17, 2018
1 parent b7ff426 commit 671afac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ type Dialer interface {
// Address returns the string (full URL) of the Listener.
Address() string

// SetOption sets an option the Listener. Setting options
// can only be done before Listen() has been called.
// SetOption sets an option on the Dialer. Setting options
// can only be done before Dial() has been called.
SetOption(name string, value interface{}) error

// GetOption gets an option value from the Listener.
Expand Down
2 changes: 1 addition & 1 deletion listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Listener interface {
// Address returns the string (full URL) of the Listener.
Address() string

// SetOption sets an option the Listener. Setting options
// SetOption sets an option on the Listener. Setting options
// can only be done before Listen() has been called.
SetOption(name string, value interface{}) error

Expand Down

0 comments on commit 671afac

Please sign in to comment.