Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
get rid of usage section from readme
Browse files Browse the repository at this point in the history
You don't really *use* this package in that way.
  • Loading branch information
Stebalien committed Mar 9, 2018
1 parent 83707ed commit 6d2b6e6
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,6 @@ This is the 'base' layer for any transport that wants to be used by libp2p and i
> gx-go rewrite
```

## Usage

```go
var t Transport

t = NewTCPTransport()

list, err := t.Listen(listener_maddr)
if err != nil {
log.Fatal(err)
}

con, err := list.Accept()
if err != nil {
log.Fatal(err)
}

fmt.Fprintln(con, "Hello World!")
```

## Contribute

Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-libp2p-transport/issues)!
Expand Down

0 comments on commit 6d2b6e6

Please sign in to comment.