gx publish 0.1.10
Steven Allen authored
9b6cfc80
Name Last commit Last update
.gx gx publish 0.1.10
LICENSE initial commit
README.md complete rename
package.json gx publish 0.1.10
ssms.go go fmt
ssms_test.go fix tests for go-conn-security refactor

go-conn-security-multistream

standard-readme compliant GoDoc Coverage Status Build Status

Connection security multistream multiplexer

This package provides a multistream multiplexed security transport. It:

  1. Selects a security security transport using multistream-select.
  2. Secures the stream using the selected transport.

Known libp2p security transports include:

Install

go-conn-security-multistream is a standard Go module which can be installed with:

go get github.com/libp2p/go-conn-security-multistream

Note that go-conn-security-multistream is packaged with Gx, so it is recommended to use Gx to install and use it (see the Usage section).

Usage

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

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/libp2p/go-conn-security-multistream
gx install --global
gx-go --rewrite

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

For more information about how go-conn-security-multistream is used in the libp2p context, you can see the go-libp2p-conn module.

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

Want to hack on IPFS?

License

MIT