mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
16 lines
202 B
Go
16 lines
202 B
Go
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()
|
|
}
|