feeds

package
v1.24.19 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MetricPostedMessages = promauto.NewCounterVec(prometheus.CounterOpts{
	Name: "yagpdb_feed_posted_total",
	Help: "Feed messages posted",
}, []string{"source"})

Functions

func Run

func Run(which []string)

Run runs the specified feeds

func Stop

func Stop(wg *sync.WaitGroup)

Types

type Plugin

type Plugin interface {
	common.Plugin

	StartFeed()
	StopFeed(*sync.WaitGroup)
}

Jump to

Keyboard shortcuts

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