mirror of
https://github.com/status-im/status-go.git
synced 2025-02-09 13:24:49 +00:00
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)
|
|
}
|