17 lines
436 B
Go
17 lines
436 B
Go
|
|
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
|
||
|
|
}
|