Improve dht.Transaction.SetResponseHandler comment

This commit is contained in:
Matt Joiner 2016-05-17 16:04:33 +10:00
parent cf55055d12
commit 2483c75f09
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ type Transaction struct {
userOnResponse func(Msg, bool)
}
// SetResponseHandler sets up a function to be called when query response
// arrives.
// SetResponseHandler sets up a function to be called when the query response
// is available.
func (t *Transaction) SetResponseHandler(f func(Msg, bool)) {
t.mu.Lock()
defer t.mu.Unlock()