producer

package
v0.0.0-...-6475e20 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

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

I have decided not to use any external package to schedule data with given time frame and built my own. Has gracefull ON / OFF functions with Start() / Stop() methods

func NewProducer

func NewProducer(store store.ArticleStorer, url string, freq int) *Producer

func (*Producer) Start

func (p *Producer) Start()

func (*Producer) Stop

func (p *Producer) Stop()

Jump to

Keyboard shortcuts

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