subscribed

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = consts.TaskSubscribed

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

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

func (*Plugin) Init

func (p *Plugin) Init(
	log *zap.Logger,
	feedStorage storage.FeedStorage,
	roomStorage storage.RoomStorage,
	sender tgbotsender.TelegramSender,
) error

func (*Plugin) Name

func (p *Plugin) Name() string

Name returns user-friendly plugin name

func (*Plugin) ProcessTask

func (p *Plugin) ProcessTask(ctx context.Context, task *asynq.Task) error

Jump to

Keyboard shortcuts

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