Documentation
¶
Overview ¶
Package datatugext exposes the DataTug extension config for the platform host to compose. The host supplies the adapter for the domain's IDGenerator port, which keeps the domain free of any platform or third-party id library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extension ¶
func Extension(ids facade4datatug.IDGenerator) extension.Config
Extension returns the DataTug extension config: its module identity, its HTTP routes, and the host-supplied IDGenerator adapter.
func ExtensionWithOptions ¶ added in v0.10.0
func ExtensionWithOptions(ids facade4datatug.IDGenerator, options api4datatug.RouteOptions) extension.Config
ExtensionWithOptions is a separate, additive composition surface. Existing hosts using ExtensionWithPlan keep shared creation unregistered.
func ExtensionWithPlan ¶ added in v0.4.0
func ExtensionWithPlan(ids facade4datatug.IDGenerator, plan api4datatug.PlanRouteOptions) extension.Config
ExtensionWithPlan binds the host's trusted authentication and plan adapters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.