MCPcopy
hub / github.com/coder/websocket / WriterFunc

FuncType WriterFunc

internal/util/util.go:4–4  ·  view source on GitHub ↗

WriterFunc is used to implement one off io.Writers.

func(p []byte) (int, error)

Source from the content-addressed store, hash-verified

2
3// WriterFunc is used to implement one off io.Writers.
4type WriterFunc func(p []byte) (int, error)
5
6func (f WriterFunc) Write(p []byte) (int, error) {
7 return f(p)

Callers 5

RecordBytesWrittenMethod · 0.92
wstestServerFunction · 0.92
ensureFlateMethod · 0.92
extractBufioWriterBufFunction · 0.92
writeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…