pnet

package module
v2.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2017 License: MIT Imports: 14 Imported by: 0

README

go-libp2p-pnet

Travis CI codecov.io

An implementation of go-libp2p-interface-pnet

Table of Contents

Usage

See Godocs

Contribute

PRs are welcome!

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT © Jakub Sztandera

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateV1PSK

func GenerateV1PSK() io.Reader

GenerateV1PSK generates new PSK key that can be used with NewProtector

func NewProtector

func NewProtector(input io.Reader) (ipnet.Protector, error)

NewProtector creates ipnet.Protector instance from a io.Reader stream that should include Multicodec encoded V1 PSK.

Types

This section is empty.

Jump to

Keyboard shortcuts

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