MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / mockedStream

Struct mockedStream

stream/stream_test.go:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87type mockedStream struct {
88 readCh chan *string
89 writeCh chan struct{}
90
91 writeCloseOnce sync.Once
92}
93
94func (m *mockedStream) Read(p []byte) (n int, err error) {
95 result := <-m.readCh

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected