Documentation ¶
Overview ¶
SPDX-License-Identifier: GPL-2.0-only
SPDX-License-Identifier: GPL-2.0-only
SPDX-License-Identifier: GPL-2.0-only
Index ¶
- func RenderAuditProcReport(text string) (richText string)
- func RenderKernelProcDisable(text string) (rich string)
- func RenderKernelProcEnable(text string) (rich string)
- func RenderUserMsgSub(text string) (rich string)
- func RenderUserMsgUnsub(text string) (rich string)
- func SetStandaloneMode(db *sql.DB) (err error)
- type Bot
- type TelegramWorker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderAuditProcReport ¶
func RenderKernelProcDisable ¶
func RenderKernelProcEnable ¶
func RenderUserMsgSub ¶
func RenderUserMsgUnsub ¶
func SetStandaloneMode ¶
Types ¶
type TelegramWorker ¶
type TelegramWorker struct {
// contains filtered or unexported fields
}
func NewWorker ¶
func NewWorker(token string, ownerID int64) *TelegramWorker
func (*TelegramWorker) Start ¶
func (w *TelegramWorker) Start() (err error)
func (*TelegramWorker) Stop ¶
func (w *TelegramWorker) Stop()
Click to show internal directories.
Click to hide internal directories.