p2p

package
v0.16.15 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 16 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(projectID uint64, taskID common.Hash) error

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(projectID uint64, taskID common.Hash) error

Jump to

Keyboard shortcuts

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