pubsub

package
v0.15.20 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHost

func GetHost(hostPrivateKey crypto.PrivKey, hostAddress string) (host.Host, error)

func JoinTopic

func JoinTopic(pubSub *pubsub.PubSub, topicName string) (*pubsub.Topic, func(), error)

func Run

func Run(
	ctx context.Context,
	host host.Host,
	network *utils.Network,
	starknetProtocol starknetp2p.Protocol,
	bootstrapPeersFn func() []peer.AddrInfo,
	pubSubQueueSize int,
) (*pubsub.PubSub, func() error, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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