services

package
v0.0.0-...-e7ff023 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: LGPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCommands

func RegisterCommands(
	cfg *config.Config,
	database *db.DB,
	botClient *bot.Client,
	llmClient *llm.Client,
	service *Service,
)

Types

type Service

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

func New

func New(
	cfg *config.Config,
	database *db.DB,
	botClient *bot.Client,
	githubClient *github.Client,
	llmClient *llm.Client,
	telegraphClient *telegraph.Client,
	schemeClient *scheme.Client,
) *Service

func (*Service) Backup

func (s *Service) Backup() (data []byte, filename string, err error)

func (*Service) ExtractUploadedApk

func (s *Service) ExtractUploadedApk(messageID int, force bool, notify func(text string))

func (*Service) IsBuilding

func (s *Service) IsBuilding() bool

func (*Service) Register

func (s *Service) Register(c *cron.Cron) error

func (*Service) RequestPatch

func (s *Service) RequestPatch() bool

func (*Service) RestoreBackup

func (s *Service) RestoreBackup(data []byte) error

type UpdateInfo

type UpdateInfo struct {
	VersionName string
	BuildNumber uint32
	Source      string
	Package     string
}

func (UpdateInfo) Display

func (u UpdateInfo) Display() string

Jump to

Keyboard shortcuts

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