ad

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gossip

func Gossip(x Ad, sm *sess.Manager, c qu.C)

Gossip writes a new Ad out to the p2p network.

todo: this will be changed to use the engine host peer store. An interface

will be required.

Types

type Ad interface {
	coding.Codec
	Splice(s *splice.Splice)
	Validate() bool
	Gossip(sm *sess.Manager, c qu.C)
}

Ad is an interface for the signed messages stored in the PeerStore of the libp2p host inside an indra engine.

Jump to

Keyboard shortcuts

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