mirror of
https://github.com/go-gost/core.git
synced 2024-08-11 17:44:43 +00:00
18 lines
235 B
Go
18 lines
235 B
Go
package v5
|
|
|
|
import "net"
|
|
|
|
type bindConn struct {
|
|
net.Conn
|
|
localAddr net.Addr
|
|
remoteAddr net.Addr
|
|
}
|
|
|
|
func (c *bindConn) LocalAddr() net.Addr {
|
|
return c.localAddr
|
|
}
|
|
|
|
func (c *bindConn) RemoteAddr() net.Addr {
|
|
return c.remoteAddr
|
|
}
|