Help us shape the future of Go! Take the 2026 Go Developer Survey

module/

directory
v1.15.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: GPL-3.0

Directories

Path Synopsis
Package billing is the facade of the billing module.
Package billing is the facade of the billing module.
entity/wallet
Package wallet holds the billing domain's money entities: the wallet row (the single source of truth for balance/gift/commission since migration 02144) and withdrawal records (ADR-001 step 5).
Package wallet holds the billing domain's money entities: the wallet row (the single source of truth for balance/gift/commission since migration 02144) and withdrawal records (ADR-001 step 5).
internal/activation
Package activation implements the billing-domain stages of the paid-order activation saga: the recharge wallet credit, the referral commission and the final settlement.
Package activation implements the billing-domain stages of the paid-order activation saga: the recharge wallet credit, the referral commission and the final settlement.
internal/adminorder
Package adminorder implements the admin-side order management subdomain of the billing module.
Package adminorder implements the admin-side order management subdomain of the billing module.
internal/adminpayment
Package adminpayment implements the payment-method management subdomain of the billing module.
Package adminpayment implements the payment-method management subdomain of the billing module.
internal/callbacks
Package callbacks implements the payment gateway callback subdomain of the billing module: it authenticates EPay/Stripe/Alipay notifications, verifies them against the order's immutable payment expectation, re-confirms with the gateway and settles the payment.
Package callbacks implements the payment gateway callback subdomain of the billing module: it authenticates EPay/Stripe/Alipay notifications, verifies them against the order's immutable payment expectation, re-confirms with the gateway and settles the payment.
internal/checkout
Package checkout implements the user-facing money flows of the billing module: purchase, renewal, traffic reset, recharge, order preview and close.
Package checkout implements the user-facing money flows of the billing module: purchase, renewal, traffic reset, recharge, order preview and close.
internal/coupon
Package coupon implements the coupon management subdomain of the billing module.
Package coupon implements the coupon management subdomain of the billing module.
internal/portal
Package portal implements the guest storefront subdomain of the billing module: guest pre-orders, gateway/balance checkout, order status polling with session exchange, and the public plan/payment listings.
Package portal implements the guest storefront subdomain of the billing module: guest pre-orders, gateway/balance checkout, order status polling with session exchange, and the public plan/payment listings.
internal/settle
Package settle holds the one settlement primitive shared by the checkout and payment-callback subdomains: marking a gateway-verified payment as paid and enqueueing activation.
Package settle holds the one settlement primitive shared by the checkout and payment-callback subdomains: marking a gateway-verified payment as paid and enqueueing activation.
internal/userorder
Package userorder implements the user-facing order query subdomain of the billing module (the checkout flows join as migration proceeds).
Package userorder implements the user-facing order query subdomain of the billing module (the checkout flows join as migration proceeds).
internal/v2
Package v2 implements the V2 order orchestration subdomain of the billing module: idempotent create-and-checkout, guest checkout capabilities and the SSE event-stream tickets.
Package v2 implements the V2 order orchestration subdomain of the billing module: idempotent create-and-checkout, guest checkout capabilities and the SSE event-stream tickets.
internal/wallet
Package wallet implements the user-facing wallet subdomain of the billing module: commission withdrawal, balance/commission statements and the affiliate earnings overview.
Package wallet implements the user-facing wallet subdomain of the billing module: commission withdrawal, balance/commission statements and the affiliate earnings overview.
Package identity is the facade of the identity module (accounts, auth methods, devices; the authentication flows join as migration proceeds).
Package identity is the facade of the identity module (accounts, auth methods, devices; the authentication flows join as migration proceeds).
internal/adminuser
Package adminuser implements the admin-side account management subdomain of the identity module: user CRUD, auth methods, devices and login logs.
Package adminuser implements the admin-side account management subdomain of the identity module: user CRUD, auth methods, devices and login logs.
internal/authmethodadmin
Service assembly for the admin-side authentication-method subdomain of the identity module: method configuration, sender platforms and test sends.
Service assembly for the admin-side authentication-method subdomain of the identity module: method configuration, sender platforms and test sends.
internal/authn
Service assembly for the authentication subdomain.
Service assembly for the authentication subdomain.
internal/authn/registerpolicy
Package registerpolicy enforces the administrator-configured account policies shared by every authentication and registration path.
Package registerpolicy enforces the administrator-configured account policies shared by every authentication and registration path.
internal/profile
Package profile implements the self-service identity subdomain of the identity module: account info, credentials, third-party bindings, devices and notification preferences.
Package profile implements the self-service identity subdomain of the identity module: account info, credentials, third-party bindings, devices and notification preferences.
internal/repo
Package repo holds the identity module's repository implementations: the user account rows, auth methods, devices and the cross-domain cache facade (ADR-001 step-6 preparation).
Package repo holds the identity module's repository implementations: the user account rows, auth methods, devices and the cross-domain cache facade (ADR-001 step-6 preparation).
internal/verifycode
Service assembly for the verification-code subdomain: issuing and pre-checking the email/SMS codes that gate registration and account mutations.
Service assembly for the verification-code subdomain: issuing and pre-checking the email/SMS codes that gate registration and account mutations.
Package network is the facade of the network module: admin-side server and node management, the node-facing server API and the edge client manifest.
Package network is the facade of the network module: admin-side server and node management, the node-facing server API and the edge client manifest.
internal/adminserver
Service assembly for the admin-side server and node management subdomain of the network module.
Service assembly for the admin-side server and node management subdomain of the network module.
internal/edge
Service assembly for the edge subdomain of the network module: the token- authenticated client manifest.
Service assembly for the edge subdomain of the network module: the token- authenticated client manifest.
internal/serverapi
Service assembly for the node-facing server API subdomain of the network module: config pulls, user lists, status/traffic pushes.
Service assembly for the node-facing server API subdomain of the network module: config pulls, user lists, status/traffic pushes.
Package notification is the facade of the notification module.
Package notification is the facade of the notification module.
Package platform is the facade of the platform module (shared-kernel concerns: audit/message logs and their retention settings; system configuration joins as migration proceeds).
Package platform is the facade of the platform module (shared-kernel concerns: audit/message logs and their retention settings; system configuration joins as migration proceeds).
entity/outbox
Package outbox holds the generic domain-event outbox row (ADR-001 step-6 preparation): appended in the owning domain's transaction, published onto the asynq queue by the dispatch pump, consumed idempotently via the inbox.
Package outbox holds the generic domain-event outbox row (ADR-001 step-6 preparation): appended in the owning domain's transaction, published onto the asynq queue by the dispatch pump, consumed idempotently via the inbox.
internal/auditlog
Package auditlog implements the audit/message log subdomain of the platform module: filtered views over the system log, message log listing and the log retention settings.
Package auditlog implements the audit/message log subdomain of the platform module: filtered views over the system log, message log listing and the log retention settings.
internal/dashboard
Package dashboard implements the admin console subdomain of the platform module: cross-domain reporting aggregates.
Package dashboard implements the admin console subdomain of the platform module: cross-domain reporting aggregates.
internal/publicinfo
Service assembly for the public-info subdomain: unauthenticated site-level reads (global configuration, ToS/privacy, aggregate stats, client downloads, liveness).
Service assembly for the public-info subdomain: unauthenticated site-level reads (global configuration, ToS/privacy, aggregate stats, client downloads, liveness).
internal/systemsetting
Package systemsetting implements the system configuration subdomain of the platform module.
Package systemsetting implements the system configuration subdomain of the platform module.
internal/tool
Service assembly for the tool subdomain of the platform module: system log tail, version info, IP geolocation and process restart.
Service assembly for the tool subdomain of the platform module: system log tail, version info, IP geolocation and process restart.
Package subscription is the facade of the subscription module: plan and group management plus the public storefront listings (subscription delivery joins as migration proceeds).
Package subscription is the facade of the subscription module: plan and group management plus the public storefront listings (subscription delivery joins as migration proceeds).
entity/usersub
Package usersub holds the subscription domain's user-subscription entities (ADR-001 step 5: entity packages follow table ownership).
Package usersub holds the subscription domain's user-subscription entities (ADR-001 step 5: entity packages follow table ownership).
internal/application
Service assembly for the client-application subdomain of the subscription module: managing the subscribe clients and previewing their delivery templates.
Service assembly for the client-application subdomain of the subscription module: managing the subscribe clients and previewing their delivery templates.
internal/delivery
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.
internal/fulfillment
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.
internal/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.
internal/quotatask
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.
internal/selfsub
Package selfsub implements the user self-service subscription management of the subscription module: viewing, token reset, notes, and the two-phase cancellation with its billing refund.
Package selfsub implements the user self-service subscription management of the subscription module: viewing, token reset, notes, and the two-phase cancellation with its billing refund.
internal/storefront
Package storefront implements the public subscription listings of the subscription module.
Package storefront implements the public subscription listings of the subscription module.
internal/sweep
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).
internal/trial
Package trial grants the registration trial subscription.
Package trial grants the registration trial subscription.
internal/usersub
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.
Package support is the facade of the support module (announcements and, as migration proceeds, documents, tickets and ads).
Package support is the facade of the support module (announcements and, as migration proceeds, documents, tickets and ads).
internal/ads
Package ads implements the ads subdomain of the support module.
Package ads implements the ads subdomain of the support module.
internal/announcement
Package announcement implements the announcement subdomain of the support module.
Package announcement implements the announcement subdomain of the support module.
internal/document
Package document implements the document subdomain of the support module.
Package document implements the document subdomain of the support module.
internal/marketing
Package marketing implements the marketing subdomain of the support module (batch email campaigns and quota gift tasks).
Package marketing implements the marketing subdomain of the support module (batch email campaigns and quota gift tasks).
internal/ticket
Package ticket implements the ticket subdomain of the support module.
Package ticket implements the ticket subdomain of the support module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL