Skip to content

Commit

Permalink
remove outdated section about channels from README (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Apr 14, 2022
1 parent df0a244 commit 05788ec
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,6 @@ for {
}
```

### Channels

```go
import "github.com/libp2p/go-msgio"
rw := genReadWriter()
rch := msgio.NewReadChannel(rw)
wch := msgio.NewWriteChannel(rw)

for {
msg, err := <-rch
if err != nil {
return err
}

// echo it back :)
wch<- rw
}
```

---

The last gx published version of this module was: 0.0.6: QmcxL9MDzSU5Mj1GcWZD8CXkAFuJXjdbjotZ93o371bKSf

0 comments on commit 05788ec

Please sign in to comment.