Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultIdentityProviderFactory ¶
func DefaultIdentityProviderFactory(ctx context.Context, adapter *domain.Adapter, decryptedConfig []byte) (port.IdentityProvider, error)
DefaultIdentityProviderFactory creates IdentityProvider instances based on adapter type. Lives in app/ because it imports concrete adapters (ses, gmail), which the service layer must not.
Types ¶
type App ¶
type App struct {
Server *sendahttp.Server
RiverClient *river.Client
Pool *pgxpool.Pool
// contains filtered or unexported fields
}
App holds the top-level application components for lifecycle management.
type Extensions ¶
type Extensions struct {
Injectors []port.CodeInjector
InitFunc port.CodeInitFunc
ExternalAuthMethods []port.ExternalAuthMethod
ExternalWorkspaceResolvers []port.ExternalWorkspaceResolver
}
Extensions holds user-provided extensions registered via the SDK Engine. When nil or empty, Senda runs with built-in behavior only.
Click to show internal directories.
Click to hide internal directories.