go-multiaddr is now at multiformats org

This commit is contained in:
jbenet 2016-09-19 10:30:07 +08:00
parent 825144c9a2
commit 4cc9fd0c58
10 changed files with 15 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# multiaddr/net - Multiaddr friendly net
Package multiaddr/net provides [Multiaddr](http://github.com/jbenet/go-multiaddr) specific versions of common
Package multiaddr/net provides [Multiaddr](http://github.com/multiformats/go-multiaddr) specific versions of common
functions in stdlib's net package. This means wrappers of
standard net symbols like net.Dial and net.Listen, as well
as conversion to/from net.Addr.
Docs:
- `multiaddr/net`: https://godoc.org/github.com/jbenet/go-multiaddr-net
- `multiaddr`: https://godoc.org/github.com/jbenet/go-multiaddr
- `multiaddr/net`: https://godoc.org/github.com/multiformats/go-multiaddr-net
- `multiaddr`: https://godoc.org/github.com/multiformats/go-multiaddr

View File

@ -5,7 +5,7 @@ import (
"net"
"strings"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
)
var errIncorrectNetAddr = fmt.Errorf("incorrect network addr conversion")

View File

@ -4,7 +4,7 @@ import (
"net"
"testing"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
)
type GenFunc func() (ma.Multiaddr, error)

2
ip.go
View File

@ -3,7 +3,7 @@ package manet
import (
"bytes"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
)
// Loopback Addresses

View File

@ -6,7 +6,7 @@ import (
"fmt"
"os"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
manet "github.com/multiformats/go-multiaddr-net"
)

2
net.go
View File

@ -5,7 +5,7 @@ import (
"fmt"
"net"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
)
// Conn is the equivalent of a net.Conn object. It is the

View File

@ -7,7 +7,7 @@ import (
"sync"
"testing"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
)
func newMultiaddr(t *testing.T, m string) ma.Multiaddr {

View File

@ -1,15 +1,15 @@
{
"author": "jbenet",
"bugs": {
"url": "https://github.com/jbenet/go-multiaddr-net"
"url": "https://github.com/multiformats/go-multiaddr-net"
},
"gx": {
"dvcsimport": "github.com/jbenet/go-multiaddr-net"
"dvcsimport": "github.com/multiformats/go-multiaddr-net"
},
"gxDependencies": [
{
"author": "whyrusleeping",
"hash": "QmYzDkkgAEmrcNzFCiYo6L1dTX4EAG1gZkbtdbd9trL4vd",
"author": "multiformats",
"hash": "QmfZmQJ7J3MeBChAdcYfgDAWfbqjMU75bdLcmpD3TEhSZ1",
"name": "go-multiaddr",
"version": "0.0.0"
}

View File

@ -5,7 +5,7 @@ import (
"net"
"sync"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
)
type FromNetAddrFunc func(a net.Addr) (ma.Multiaddr, error)

View File

@ -4,7 +4,7 @@ import (
"net"
"testing"
ma "github.com/jbenet/go-multiaddr"
ma "github.com/multiformats/go-multiaddr"
)
func TestRegisterSpec(t *testing.T) {