-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from seeyarh/ipv6-support
Ipv6 support
- Loading branch information
Showing
5 changed files
with
94 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
package fastdialer | ||
|
||
type NoAddressFoundError struct{} | ||
import ( | ||
"github.com/pkg/errors" | ||
) | ||
|
||
func (m *NoAddressFoundError) Error() string { | ||
return "no address found for host" | ||
} | ||
|
||
type NoAddressAllowedError struct{} | ||
|
||
func (m *NoAddressAllowedError) Error() string { | ||
return "denied address found for host" | ||
} | ||
var ( | ||
NoAddressFoundError = errors.New("no address found for host") | ||
NoAddressAllowedError = errors.New("denied address found for host") | ||
NoPortSpecifiedError = errors.New("port was not specified") | ||
MalformedIP6Error = errors.New("malformed IPv6 address") | ||
ResolveHostError = errors.New("could not resolve host") | ||
NoTLSHistoryError = errors.New("no tls data history available") | ||
NoTLSDataError = errors.New("no tls data found for the key") | ||
NoDNSDataError = errors.New("no data found") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters