pubsub

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

pubsub a publish subscribe client for IPFS PubSub

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventMessage added in v1.10.0

func NewEventMessage(content []byte) *iface.EventPubSubMessage

Creates a new Message event

func NewEventPayload added in v1.7.0

func NewEventPayload(payload []byte) *iface.EventPubSubPayload

NewEventPayload Creates a new Message event

func NewEventPeerJoin added in v1.10.0

func NewEventPeerJoin(p peer.ID) events.Event

NewEventPeerJoin creates a new EventPubSubJoin event

func NewEventPeerLeave added in v1.10.0

func NewEventPeerLeave(p peer.ID) events.Event

NewEventPeerLeave creates a new EventPubSubLeave event

Types

This section is empty.

Directories

Path Synopsis
directchannel
directchannel
oneonone is a pubsub channel for communication between two peers
oneonone is a pubsub channel for communication between two peers
pubsubcoreapi pubsub helpers using IPFS CoreAPI
pubsubcoreapi pubsub helpers using IPFS CoreAPI
pubsubraw pubsub helpers using IPFS Golang implementation
pubsubraw pubsub helpers using IPFS Golang implementation

Jump to

Keyboard shortcuts

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