mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-14 12:36:34 +00:00
15 lines
217 B
Go
15 lines
217 B
Go
package origin
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
// persistentTCPConn is a wrapper around net.Conn that is noop when Close is called
|
|
type persistentConn struct {
|
|
net.Conn
|
|
}
|
|
|
|
func (pc *persistentConn) Close() error {
|
|
return nil
|
|
}
|