Skip to content

vulcanize/go-conn-security

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-conn-security

standard-readme compliant GoDoc Coverage Status Build Status

Stream security transport interfaces

This package defines the interfaces that must be fulfilled by libp2p network security transports. Security transports take go net.Conn connections and upgrade them to encrypted and authenticated connections.

Known libp2p security transports include:

Install

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

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

Note that go-conn-security 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
gx install --global
gx-go --rewrite

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

For more information about how go-conn-security is used in the libp2p context, you can see the go-libp2p-transport-upgrader 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%