Files
styx/proxy/util.go
2025-09-26 08:49:53 +02:00

17 lines
218 B
Go

package proxy
import (
"io"
"net"
)
// connReader is a net.Conn with a separate reader.
type connReader struct {
net.Conn
io.Reader
}
func (c connReader) Read(p []byte) (int, error) {
return c.Reader.Read(p)
}