status-go/vendor/github.com/multiformats/go-multiaddr-net
Adam Babik c9e99c432d migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
..
.gitignore migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
.travis.yml migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
LICENSE Add rendezvous implementation for discovery interface 2018-07-25 15:10:57 +03:00
Makefile migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
README.md migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
convert.go migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
doc.go Add rendezvous implementation for discovery interface 2018-07-25 15:10:57 +03:00
go.mod migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
go.sum migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
ip.go migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
net.go migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
package.json migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
private.go migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
registry.go migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00

README.md

go-multiaddr-net

GoDoc Travis CI

Multiaddress net tools

This package provides 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 and from net.Addr.

Table of Contents

Install

go-multiaddr-net is a standard Go module which can be installed with:

go get github.com/multiformats/go-multiaddr-net

Note that go-multiaddr-net is packaged with Gx, so it is recommended to use Gx to install and use it (see Usage section).

Usage

This module is packaged with Gx. In order to use it in your own project do:

go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
cd <your-project-repository>
gx init
gx import github.com/multiformats/go-multiaddr-net
gx install --global
gx-go --rewrite

Please check Gx and Gx-go documentation for more information.

For further usage, see the docs:

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2014 Juan Batiz-Benet