handler

package
v0.0.0-...-2d661e1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: Unlicense Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Bot    *telebot.Bot
	Config *config.Config
	DB     *storage.DB
}

func (*Handler) OnAddRegexReplacement

func (h *Handler) OnAddRegexReplacement(c telebot.Context) error

func (*Handler) OnAddReplacement

func (h *Handler) OnAddReplacement(c telebot.Context) error

func (*Handler) OnCheck

func (h *Handler) OnCheck()

func (*Handler) OnDeleteReplacement

func (h *Handler) OnDeleteReplacement(c telebot.Context) error

func (*Handler) OnList

func (h *Handler) OnList(c telebot.Context) error

func (*Handler) OnListAll

func (h *Handler) OnListAll(c telebot.Context) error

func (*Handler) OnListReplacements

func (h *Handler) OnListReplacements(c telebot.Context) error

func (*Handler) OnStart

func (h *Handler) OnStart(c telebot.Context) error

func (*Handler) OnSubscribe

func (h *Handler) OnSubscribe(c telebot.Context) error

func (*Handler) OnUnsubscribe

func (h *Handler) OnUnsubscribe(c telebot.Context) error

type TemplateData

type TemplateData struct {
	Title      string
	FeedTitle  string
	Content    string
	PostLink   string
	PostDomain string
}

Jump to

Keyboard shortcuts

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