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

Method Write

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

Source from the content-addressed store, hash-verified

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 }
77func (conn readOnlyConn) RemoteAddr() net.Addr { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected