a41f938cec
As we have seen, dependencies version can prevent the build. We should user lock versions on dependencies that we know work: * Packages are vendored * Add Godep support * Added addtional install step in readme * Fix travis build error
15 lignes
202 o
Go
15 lignes
202 o
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()
|
|
}
|