feat: publish standalone worker

Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
Gleb Tv
2026-07-13 17:55:14 +03:00
Коммит 2c7a0236da
309 изменённых файлов: 44004 добавлений и 0 удалений

19
internal/sender/get_content.go Обычный файл
Просмотреть файл

@@ -0,0 +1,19 @@
package sender
import (
"bytes"
"time"
"rsgit.ru/rsmon/rsmon/app/models"
"rsgit.ru/rsmon/rsmon/internal/notifyrender"
)
// GetContent provides functionality.
//
// Deprecated: the worker-driven notifier producer now uses
// internal/notifyrender directly. This thin wrapper is preserved so the
// legacy RunMessage loop still compiles until it is removed in phase 3 of
// docs/plans/worker-notifier-mvp.md.
func GetContent(message *models.Message, tn time.Time) (bytes.Buffer, bytes.Buffer, bytes.Buffer, bytes.Buffer) {
return notifyrender.GetContent(message, tn)
}