MCPcopy Create free account
hub / github.com/AdRoll/baker / setOutputChannel

Method setOutputChannel

input/tcp.go:120–122  ·  view source on GitHub ↗
(data chan<- *baker.Data)

Source from the content-addressed store, hash-verified

118}
119
120func (s *TCP) setOutputChannel(data chan<- *baker.Data) {
121 s.data = data
122}
123
124func (s *TCP) send(data *baker.Data) {
125 nlines := int64(bytes.Count(data.Bytes, []byte{'\n'}))

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected