mirror of
https://github.com/status-im/status-go.git
synced 2025-01-15 17:25:20 +00:00
926f6a3c72
This reverts commit d0ca4447c6c5642830354740d045f453eb3e77e8.
12 lines
157 B
Go
12 lines
157 B
Go
package connctx
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
// Pipe creates piped pair of ConnCtx.
|
|
func Pipe() (ConnCtx, ConnCtx) {
|
|
ca, cb := net.Pipe()
|
|
return New(ca), New(cb)
|
|
}
|