()
| 29 | ) |
| 30 | |
| 31 | func 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 | |
| 44 | func (c ChannelEndpoint2) ClearSrc() {} |
| 45 |