Documentation
¶
Overview ¶
Package notification is the composition root for the notification feature. It wires the in-process service implementation and exposes it through typed service keys and optional HTTP routes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct{}
Module wires the notification service and HTTP handlers.
type RemoteModule ¶
type RemoteModule struct {
// contains filtered or unexported fields
}
RemoteModule registers a remote HTTP client adapter as the notification service. It is used in standalone deployments where the real notification service runs in a separate process.
func NewRemoteModule ¶
func NewRemoteModule(baseURL string, client *http.Client) (*RemoteModule, error)
NewRemoteModule creates a notification module that proxies to a remote service over HTTP.
func (*RemoteModule) DependsOn ¶
func (m *RemoteModule) DependsOn() []string
DependsOn implements modulex.Module.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package adapters provides infrastructure adapters for the notification feature.
|
Package adapters provides infrastructure adapters for the notification feature. |
|
Package ports defines the inbound and outbound contracts for the notification feature.
|
Package ports defines the inbound and outbound contracts for the notification feature. |
|
Package service contains the core business logic for the notification feature.
|
Package service contains the core business logic for the notification feature. |
Click to show internal directories.
Click to hide internal directories.