mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-19 16:56:39 +00:00
13 lines
190 B
Go
13 lines
190 B
Go
package peer
|
|
|
|
import (
|
|
"io"
|
|
"net"
|
|
)
|
|
|
|
type proxy interface {
|
|
io.Closer
|
|
// Start creates a local remoteConn and starts proxying data from/to remoteConn
|
|
Start(remoteConn net.Conn) error
|
|
}
|