status-go/vendor/github.com/anacrolix/utp/addr.go

16 lines
202 B
Go
Raw Normal View History

2022-03-10 09:44:48 +00:00
package utp
import "net"
type addr struct {
socket net.Addr
}
func (me addr) Network() string {
return "utp/" + me.socket.Network()
}
func (me addr) String() string {
return me.socket.String()
}