Skip to content

Commit

Permalink
proxy: imp doc
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Mar 24, 2023
1 parent db08d96 commit 8835572
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proxy/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func (p *Proxy) lookupIPAddr(host string, qtype uint16, ch chan *lookupResult) {
ch <- &lookupResult{d.Res, err}
}

// ErrEmptyHost is returned by LookupIPAddr when the host is empty and can't be
// resolved.
const ErrEmptyHost = errors.Error("host is empty")

// LookupIPAddr resolves the specified host IP addresses
Expand Down

0 comments on commit 8835572

Please sign in to comment.