Files
smtp/component.go
T

17 lines
436 B
Go
Raw Permalink Normal View History

package smtp
import (
"code.nochebuena.dev/einherjar/contracts/lifecycle"
"code.nochebuena.dev/einherjar/contracts/observability"
)
// Component is the full smtp capability: lifecycle management, health reporting,
// and the [Sender] interface for dispatching email.
// Register with launcher and health before starting.
type Component interface {
lifecycle.Component
observability.Checkable
observability.Identifiable
Sender
}