Skip to content

Commit

Permalink
Give names to the types of GetPeers
Browse files Browse the repository at this point in the history
  • Loading branch information
nictuku committed Aug 30, 2016
1 parent 9d85e54 commit 6ea2892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func newTokenSecret() string {
// Logger allows the DHT client to attach hooks for certain RPCs so it can log
// interesting events any way it wants.
type Logger interface {
GetPeers(net.UDPAddr, string, InfoHash)
GetPeers(addr net.UDPAddr, queryID string, infoHash InfoHash)
}

type ihReq struct {
Expand Down

0 comments on commit 6ea2892

Please sign in to comment.