Documentation
¶
Overview ¶
Service assembly for the edge subdomain of the network module: the token- authenticated client manifest. Only the module facade may reach it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrManifestNotFound = errors.New("edge manifest not found")
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
Store repository.Store
// Config snapshots the runtime-mutable settings per request.
Config func() Snapshot
}
Deps declares the subdomain's dependencies; the module facade forwards them from the composition root.
type ManifestLogic ¶
ManifestLogic builds an edge contract from the domain model. It intentionally does not invoke adapter.NewAdapter or the legacy subscription logic.
func (*ManifestLogic) Manifest ¶
func (l *ManifestLogic) Manifest(token string) (*dto.EdgeManifestResponse, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the edge manifest entry point used by the network facade.
func NewService ¶
type Snapshot ¶
type Snapshot struct {
Subscribe config.SubscribeConfig
}
Snapshot is the per-request view of the runtime-mutable settings the edge manifest consumes.
Click to show internal directories.
Click to hide internal directories.