p2p

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleSubscription added in v0.15.2

type HandleSubscription func([]byte)

type PubSub added in v0.15.2

type PubSub struct {
	// contains filtered or unexported fields
}

func NewPubSub added in v0.15.2

func NewPubSub(bootNodeMultiaddr string, iotexChainID int, handle HandleSubscription) (*PubSub, error)

func (*PubSub) Publish added in v0.15.2

func (p *PubSub) Publish(data []byte) error

Jump to

Keyboard shortcuts

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