mirror of
https://github.com/status-im/status-go.git
synced 2025-01-11 23:25:29 +00:00
15 lines
259 B
Go
15 lines
259 B
Go
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package connctx
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
// Pipe creates piped pair of ConnCtx.
|
|
func Pipe() (ConnCtx, ConnCtx) {
|
|
ca, cb := net.Pipe()
|
|
return New(ca), New(cb)
|
|
}
|