ioconn

Package ioconn allows any combination of an io.Reader, io.Writer and io.Closer to become a net.Conn

Go Reference