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

Method Write

internal/util/util.go:6–8  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

4type WriterFunc func(p []byte) (int, error)
5
6func (f WriterFunc) Write(p []byte) (int, error) {
7 return f(p)
8}
9
10// ReaderFunc is used to implement one off io.Readers.
11type ReaderFunc func(p []byte) (int, error)

Callers 2

EchoFunction · 0.45
writeTimeoutFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected