status-go/vendor/github.com/libp2p/go-conn-security-multistream/README.md

2.3 KiB

go-conn-security-multistream

Discourse posts GoDoc

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

This repo is gomod-compatible, and users of go 1.11 and later with modules enabled will automatically pull the latest tagged release by referencing this package. Upgrades to future releases can be managed using go get, or by editing your go.mod file as described by the gomod documentation.

Usage

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


The last gx published version of this module was: 0.1.26: QmZWmFkMm28sWeDr5Xh1LexdKBGYGp946MNCfgtLqfX73z