Categorygithub.com/libp2p/go-libp2p-tls
modulepackage
0.5.0
Repository: https://github.com/libp2p/go-libp2p-tls.git
Documentation: pkg.go.dev

# README

DEPRECATION NOTICE

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

go-libp2p-tls

GoDoc Linux Build Status Code Coverage Discourse posts

go-libp2p's TLS encrypted transport

Package go-libp2p-tls is a libp2p conn security transport. It uses TLS to setup the communication channel.

Install

go-libp2p-tls is a standard Go module which can be installed with:

go get github.com/libp2p/go-libp2p-tls

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.0: QmR4qpcxA1UoHg7SZ89hJHYCpfrxToPjH9xSCug1cQeH1M

# Functions

New creates a TLS encrypted transport Deprecated: use github.com/libp2p/go-libp2p/p2p/security/tls.New instead.
NewIdentity creates a new identity Deprecated: use github.com/libp2p/go-libp2p/p2p/security/tls.NewIdentity instead.

# Constants

ID is the protocol ID (used when negotiating with multistream) Deprecated: use github.com/libp2p/go-libp2p/p2p/security/tls.ID instead.

# Type aliases

Identity is used to secure connections Deprecated: use github.com/libp2p/go-libp2p/p2p/security/tls.Identity instead.
Transport constructs secure communication sessions for a peer.