Skip to content

Commit

Permalink
fix repo
Browse files Browse the repository at this point in the history
This has moved to libp2p
  • Loading branch information
Stebalien committed Nov 19, 2017
1 parent 44064e9 commit 090f210
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is a simple package that helps read and write length-delimited slices. It's
### Reading

```go
import "github.com/jbenet/msgio"
import "github.com/libp2p/go-msgio"
rdr := ... // some reader from a wire
mrdr := msgio.NewReader(rdr)

Expand All @@ -24,7 +24,7 @@ for {
### Writing

```go
import "github.com/jbenet/msgio"
import "github.com/libp2p/go-msgio"
wtr := genReader()
mwtr := msgio.NewWriter(wtr)

Expand All @@ -40,7 +40,7 @@ for {
### Duplex

```go
import "github.com/jbenet/msgio"
import "github.com/libp2p/go-msgio"
rw := genReadWriter()
mrw := msgio.NewReadWriter(rw)

Expand All @@ -61,7 +61,7 @@ for {
### Channels

```go
import "github.com/jbenet/msgio"
import "github.com/libp2p/go-msgio"
rw := genReadWriter()
rch := msgio.NewReadChannel(rw)
wch := msgio.NewWriteChannel(rw)
Expand Down
2 changes: 1 addition & 1 deletion chan.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package msgio
import (
"io"

mpool "github.com/jbenet/go-msgio/mpool"
mpool "github.com/libp2p/go-msgio/mpool"
)

// Chan is a msgio duplex channel. It is used to have a channel interface
Expand Down
2 changes: 1 addition & 1 deletion fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "bytes"

// get the go-fuzz tools and build a fuzzer
// $ go get -u github.com/dvyukov/go-fuzz/...
// $ go-fuzz-build github.com/jbenet/go-msgio
// $ go-fuzz-build github.com/libp2p/go-msgio

// put a corpus of random (even better if actual, structured) data in a corpus directry
// $ go-fuzz -bin ./msgio-fuzz -corpus corpus -workdir=wdir -timeout=15
Expand Down
2 changes: 1 addition & 1 deletion mpool/pool.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Package mpool provides a sync.Pool equivalent that buckets incoming
// requests to one of 32 sub-pools, one for each power of 2, 0-32.
//
// import "github.com/jbenet/go-msgio/mpool"
// import "github.com/libp2p/go-msgio/mpool"
// var p mpool.Pool
//
// small := make([]byte, 1024)
Expand Down
2 changes: 1 addition & 1 deletion msgio.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"sync"

mpool "github.com/jbenet/go-msgio/mpool"
mpool "github.com/libp2p/go-msgio/mpool"
)

// ErrMsgTooLarge is returned when the message length is exessive
Expand Down
2 changes: 1 addition & 1 deletion msgio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Conveniently output msgio headers.
## Install

```
go get github.com/jbenet/go-msgio/msgio
go get github.com/libp2p/go-msgio/msgio
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion msgio/msgio.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"strings"

msgio "github.com/jbenet/go-msgio"
msgio "github.com/libp2p/go-msgio"
)

var Args ArgType
Expand Down
2 changes: 1 addition & 1 deletion varint.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"sync"

mpool "github.com/jbenet/go-msgio/mpool"
mpool "github.com/libp2p/go-msgio/mpool"
)

// varintWriter is the underlying type that implements the Writer interface.
Expand Down

0 comments on commit 090f210

Please sign in to comment.