mirror of
https://github.com/status-im/status-go.git
synced 2025-02-27 06:00:48 +00:00
48 lines
2.3 KiB
Markdown
48 lines
2.3 KiB
Markdown
|
# go-libp2p-secio
|
||
|
|
||
|
[](https://protocol.ai)
|
||
|
[](https://libp2p.io/)
|
||
|
[](http://webchat.freenode.net/?channels=%23libp2p)
|
||
|
[](https://discuss.libp2p.io)
|
||
|
[](https://godoc.org/github.com/libp2p/go-libp2p-secio)
|
||
|
[](https://travis-ci.org/libp2p/go-libp2p-secio)
|
||
|
|
||
|
> go-libp2p's secio encrypted transport
|
||
|
|
||
|
Package `go-libp2p-secio` is a libp2p [stream security transport](https://github.com/libp2p/go-stream-security). Connections wrapped by `secio` use secure sessions provided by this package to encrypt all traffic. A TLS-like handshake is used to setup the communication channel.
|
||
|
|
||
|
## Install
|
||
|
|
||
|
`go-libp2p-secio` is a standard Go module which can be installed with:
|
||
|
|
||
|
```sh
|
||
|
go get github.com/libp2p/go-libp2p-secio
|
||
|
```
|
||
|
|
||
|
This repo is [gomod](https://github.com/golang/go/wiki/Modules)-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](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies).
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
For more information about how `go-libp2p-secio` is used in the libp2p context, you can see the [go-libp2p-conn](https://github.com/libp2p/go-libp2p-conn) module.
|
||
|
|
||
|
## Contribute
|
||
|
|
||
|
Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-libp2p-secio/issues)!
|
||
|
|
||
|
This repository falls under the IPFS [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md).
|
||
|
|
||
|
### Want to hack on IPFS?
|
||
|
|
||
|
[](https://github.com/ipfs/community/blob/master/contributing.md)
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|
||
|
|
||
|
---
|
||
|
|
||
|
The last gx published version of this module was: 2.0.30: QmSVaJe1aRjc78cZARTtf4pqvXERYwihyYhZWoVWceHnsK
|