MCPcopy Create free account
hub / github.com/encodeous/nylon / NewChannelBind2

Function NewChannelBind2

polyamide/conn/bindtest/bindtest2.go:31–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29)
30
31func NewChannelBind2() [2]conn.Bind {
32 arx4 := make(chan chanPkt, 8192)
33 brx4 := make(chan chanPkt, 8192)
34 var binds [2]ChannelBind2
35 binds[0].rx = &arx4
36 binds[0].tx = &brx4
37
38 binds[1].rx = &brx4
39 binds[1].tx = &arx4
40
41 return [2]conn.Bind{&binds[0], &binds[1]}
42}
43
44func (c ChannelEndpoint2) ClearSrc() {}
45

Callers 1

BindMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected