connsec

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2019 License: MIT Imports: 1 Imported by: 23

README

go-conn-security

Discourse posts GoDoc

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

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 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


The last gx published version of this module was: 0.1.28: QmPRoHqULmP4MuKAN5EFaJ64MLpeMY8cny2318xDBDmmkp

Documentation

Overview

Deprecated: use github.com/libp2p/go-libp2p-core/sec instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn deprecated

type Conn = core.SecureConn

Deprecated: use github.com/libp2p/go-libp2p-core/sec.SecureConn instead.

type Transport deprecated

type Transport = core.SecureTransport

Deprecated: use github.com/libp2p/go-libp2p-core/sec.SecureTransport instead.

Directories

Path Synopsis
Deprecated: use github.com/libp2p/go-libp2p-core/sec/insecure instead.
Deprecated: use github.com/libp2p/go-libp2p-core/sec/insecure instead.
Deprecated: use github.com/libp2p/go-libp2p-testing/suites/sec instead.
Deprecated: use github.com/libp2p/go-libp2p-testing/suites/sec instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL