network

package
v0.0.0-...-31b6265 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHost

func CreateHost(privKey crypto.PrivKey, prot pnet.Protector, port uint16) (host.Host, error)

CreateHost create create host and pubsub given privKey

func CreatePubSub

func CreatePubSub(host host.Host) (*pubsub.PubSub, error)

CreatePubSub create a pubsub for use

Types

This section is empty.

Jump to

Keyboard shortcuts

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