Files
worker/internal/sender/sender.go
Gleb Tv 2c7a0236da feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
2026-07-13 17:55:14 +03:00

34 строки
638 B
Go

package sender
import (
"net/http"
"time"
)
var httpClient *http.Client
func init() {
httpClient = &http.Client{
Timeout: time.Second * 60,
}
}
// Init sender
//
// Deprecated: the legacy SMPP init that lived here is commented out. Phase 3
// of docs/plans/worker-notifier-mvp.md retires the sender loop entirely.
// This stub is preserved so any remaining callers do not fail to compile
// during the rollout window.
func Init() {
// if application.Env == "production" {
// InitSMPP()
// }
}
// Start sender
//
// Deprecated: the legacy sender loop is retired. The worker binary is the executor.
func Start() {
// no-op
}