messenger

package
v0.0.0-...-7454124 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartEmmitingMessages

func StartEmmitingMessages(g Gossiper, n int, invalidFreq int)

Types

type Gossiper

type Gossiper interface {
	StartLoop()
	SendMessage(models.Message) error
}

func NewGossiper

func NewGossiper(ps storage.PeerStorage) Gossiper

Jump to

Keyboard shortcuts

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