MCPcopy
hub / github.com/gorilla/websocket / Write

Method Write

conn_test.go:305–305  ·  conn_test.go::errorWriter.Write
(p []byte)

Source from the content-addressed store, hash-verified

303type errorWriter struct{}
304
305func (ew errorWriter) Write(p []byte) (int, error) { return 0, errors.New("error") }
306
307// TestWriteBufferPoolError ensures that buffer is returned to pool after error
308// on write.

Callers 7

TestFramingFunction · 0.45
TestControlFunction · 0.45
TestEOFWithinFrameFunction · 0.45
TestEOFBeforeFinalFrameFunction · 0.45
TestReadLimitFunction · 0.45
TestBufioReadBytesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected