feeds

package
v2.49.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 5 Imported by: 3

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