Files
worker/internal/sender/get_content.go
Gleb Tv 2c884c5612
Некоторые проверки не удались
CI / test (push) Successful in 2m5s
Docker / Build and publish worker image (push) Failing after 31s
refactor: adopt worker module path
2026-07-13 17:56:12 +03:00

20 строки
585 B
Go

package sender
import (
"bytes"
"time"
"rocketgit.ru/rsmon/worker/app/models"
"rocketgit.ru/rsmon/worker/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)
}