Directories
¶
| Path | Synopsis |
|---|---|
|
Package application implements the client-application subdomain of the subscription module: managing the subscribe clients and previewing their delivery templates.
|
Package application implements the client-application subdomain of the subscription module: managing the subscribe clients and previewing their delivery templates. |
|
Package deduction provides functionality for calculating remaining amounts in subscription billing systems, supporting various time units and traffic-based calculations.
|
Package deduction provides functionality for calculating remaining amounts in subscription billing systems, supporting various time units and traffic-based calculations. |
|
Package delivery implements the subscription delivery subdomain of the subscription module: token-authenticated rendering of client configs via the adapter, with notice placeholders for expired/exhausted subscriptions.
|
Package delivery implements the subscription delivery subdomain of the subscription module: token-authenticated rendering of client configs via the adapter, with notice placeholders for expired/exhausted subscriptions. |
|
Package fulfillment applies a paid order's business effect: creating, renewing or traffic-resetting the user subscription in the fulfillment transaction, idempotent via the inbox marker.
|
Package fulfillment applies a paid order's business effect: creating, renewing or traffic-resetting the user subscription in the fulfillment transaction, idempotent via the inbox marker. |
|
Package inventory reserves and restores plan stock for orders, each at most once per order through inbox markers.
|
Package inventory reserves and restores plan stock for orders, each at most once per order through inbox markers. |
|
Package nodeaccess serves the subscription side of node access to the other modules (ADR-001 rule 4): the subscriptions the network may serve, found by token, id or node scope together with their plans, and the cache invalidation when an account's access ends.
|
Package nodeaccess serves the subscription side of node access to the other modules (ADR-001 rule 4): the subscriptions the network may serve, found by token, id or node scope together with their plans, and the cache invalidation when an account's access ends. |
|
Package period holds the subscription module's calendar rules: the time units that size a subscription term and the traffic reset cycles of a plan.
|
Package period holds the subscription module's calendar rules: the time units that size a subscription term and the traffic reset cycles of a plan. |
|
Package plan implements the subscription plan management subdomain of the subscription module: plan and group CRUD, ordering and token resets.
|
Package plan implements the subscription plan management subdomain of the subscription module: plan and group CRUD, ordering and token resets. |
|
Package quotatask processes the admin-scheduled quota grants: extending subscription time and crediting gift money for a scope of subscriptions.
|
Package quotatask processes the admin-scheduled quota grants: extending subscription time and crediting gift money for a scope of subscriptions. |
|
Package render builds the client configurations of subscription delivery and template previews: it maps nodes to the proxies a client template renders and executes the template in the application's output format.
|
Package render builds the client configurations of subscription delivery and template previews: it maps nodes to the proxies a client template renders and executes the template in the application's output format. |
|
Package repo holds the subscription module's repository implementations: plans and groups, user subscriptions with their traffic accounting and cache bridges, client applications and provider entitlements (ADR-001 step-6 preparation).
|
Package repo holds the subscription module's repository implementations: plans and groups, user subscriptions with their traffic accounting and cache bridges, client applications and provider entitlements (ADR-001 step-6 preparation). |
|
Package selfsub implements the user self-service subscription management of the subscription module: viewing, token reset, notes, and the two-phase cancellation whose refund stage the billing module settles.
|
Package selfsub implements the user self-service subscription management of the subscription module: viewing, token reset, notes, and the two-phase cancellation whose refund stage the billing module settles. |
|
Package storefront implements the public subscription listings of the subscription module.
|
Package storefront implements the public subscription listings of the subscription module. |
|
Package subtest is the subscription module's behaviour-test fixture: a SQLite database with the module's tables and a miniredis cache behind the module's real repositories.
|
Package subtest is the subscription module's behaviour-test fixture: a SQLite database with the module's tables and a miniredis cache behind the module's real repositories. |
|
Package sweep implements the subscription lifecycle sweep: marking traffic-exceeded and expired subscriptions finished, then firing the retryable side effects (owner notification, cache invalidation).
|
Package sweep implements the subscription lifecycle sweep: marking traffic-exceeded and expired subscriptions finished, then firing the retryable side effects (owner notification, cache invalidation). |
|
Package trafficreset applies the plans' calendar traffic resets: on the 1st of every month, monthly on the start day and yearly on the start date (the rules live in period).
|
Package trafficreset applies the plans' calendar traffic resets: on the 1st of every month, monthly on the start day and yearly on the start date (the rules live in period). |
|
Package trafficusage owns idempotent subscription usage accounting.
|
Package trafficusage owns idempotent subscription usage accounting. |
|
Package trial grants the registration trial subscription.
|
Package trial grants the registration trial subscription. |
|
Package usersub implements the admin-side user subscription management of the subscription module.
|
Package usersub implements the admin-side user subscription management of the subscription module. |
Click to show internal directories.
Click to hide internal directories.