Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func Adapter ¶
Adapter returns an Error if the pass-in error is a network error; otherwise, nil will be returned.
func (Error) IsConnRefusedError ¶
IsConnRefusedError returns true if an error is a "connection refused" error
func (Error) IsDialError ¶
IsDialError returns true if its a network dial error
func (Error) IsTimeoutError ¶
IsTimeoutError returns true if its a network timeout error
func (Error) IsUnsupportedProtoScheme ¶
IsUnsupportedProtoScheme returns true if an error is a "unsupported protocol scheme" error
Click to show internal directories.
Click to hide internal directories.