.. | ||
.gitignore | ||
.travis.yml | ||
convert.go | ||
doc.go | ||
go.mod | ||
go.sum | ||
ip.go | ||
LICENSE | ||
Makefile | ||
net.go | ||
package.json | ||
private.go | ||
README.md | ||
registry.go |
go-multiaddr-net
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:
multiaddr/net
: https://godoc.org/github.com/multiformats/go-multiaddr-netmultiaddr
: https://godoc.org/github.com/multiformats/go-multiaddr
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