Code maintenance: use native Go HTTP client
This commit is contained in:
8
internal/publicip/errors.go
Normal file
8
internal/publicip/errors.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package publicip
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrBadStatusCode = errors.New("bad HTTP status")
|
||||
ErrCannotReadBody = errors.New("cannot read response body")
|
||||
)
|
||||
Reference in New Issue
Block a user