gossip

package
v0.0.0-...-d399794 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advertisement struct {
	Thread string
	Topic  string
	Ref    string
}

type Gossip

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

func NewGossip

func NewGossip() (*Gossip, error)

func (*Gossip) AddBoardWhitelist

func (g *Gossip) AddBoardWhitelist(board string) error

func (*Gossip) AddThreadWhitelist

func (g *Gossip) AddThreadWhitelist(thread string) error

func (*Gossip) Close

func (g *Gossip) Close() error

func (*Gossip) DelBoardWhitelist

func (g *Gossip) DelBoardWhitelist(board string)

func (*Gossip) DelThreadWhitelist

func (g *Gossip) DelThreadWhitelist(thread string)

func (*Gossip) Posts

func (g *Gossip) Posts() <-chan Advertisement

func (*Gossip) Threads

func (g *Gossip) Threads() <-chan Advertisement

Jump to

Keyboard shortcuts

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