Add more net compatibility

Required for net/http.
This commit is contained in:
Federico G. Schwindt
2021-06-01 14:48:15 +01:00
committed by deadprogram
parent 9432cd8adb
commit a51f3399cb
5 changed files with 218 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package net
import "errors"
var (
// copied from poll.ErrNetClosing
errClosed = errors.New("use of closed network connection")
ErrNotImplemented = errors.New("operation not implemented")
)