MCPcopy Create free account
hub / github.com/M1r0ku/frp-Modify / Read

Method Read

frp-dev/pkg/util/vhost/https.go:73–73  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

71}
72
73func (conn readOnlyConn) Read(p []byte) (int, error) { return conn.reader.Read(p) }
74func (conn readOnlyConn) Write(p []byte) (int, error) { return 0, io.ErrClosedPipe }
75func (conn readOnlyConn) Close() error { return nil }
76func (conn readOnlyConn) LocalAddr() net.Addr { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected