/go-conn-security-multistream

Multiplexed secure transport module for go-libp2p

Primary LanguageGoMIT LicenseMIT

DEPRECATION NOTICE

This package has moved into go-libp2p as a sub-package, github.com/libp2p/go-libp2p/p2p/net/conn-security-multistream.

go-conn-security-multistream

Discourse posts GoDoc

Connection security multistream multiplexer

This package provides a multistream multiplexed security transport. It:

  1. Selects a 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 libp2p Code of Conduct.

Want to hack on libp2p?

License

MIT


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