{"modulePath":"github.com/forgeplex/appkit","version":"v0.11.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/forgeplex/appkit","name":"appkit","synopsis":"Package appkit 是 forgeplex 后端服务的运行时框架。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/apperr","name":"apperr","synopsis":"Package apperr 定义全系统统一的错误形态。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/apptest","name":"apptest","synopsis":"Package apptest 把「单体与微服务语义一致」从设计承诺变成可运行的断言。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/audit","name":"audit","synopsis":"Package audit 提供写操作审计原语：审计记录与业务写在同一事务内落库， 事务回滚则审计一并消失——审计反映的是\"已发生的事实\"。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/authn","name":"authn","synopsis":"Package authn 是访问令牌的验签机制件：解析 Bearer 访问令牌与 X-Step-Up step-up 证明，验签后注入 appkit.Actor。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/bootstrap","name":"bootstrap","synopsis":"Package bootstrap 把域服务 main() 的固定装配收进框架。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/callctx","name":"callctx","synopsis":"Package callctx 定义「跨调用边界存活」的元数据白名单。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/cmd/appkit","name":"main","synopsis":"appkit 是框架 CLI：脚手架、架构检查、规则集分发、代码生成、本地多仓联调。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/config","name":"config","synopsis":"Package config 实现分层配置加载（DESIGN §2）：yaml 文件按序合并 → 环境变量覆盖 → unmarshal 到强类型 → validator 校验。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/contract","name":"contract","synopsis":"Package contract 实现跨模块契约调用的边界语义。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/contract/streamtest","name":"streamtest","synopsis":"Package streamtest provides a reusable behavioral suite for contract stream adapters.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/examples/greeter","name":"main","synopsis":"Command greeter 是 appkit 的最小完整示例（不依赖数据库）： 两个业务模块（greet、gateway）装配进同一个二进制，用 -target 在 「单体」与「拆分」两种部署形态间切换——部署形态是启动参数， 不是架构决策（DESIGN §5）。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/examples/greeter/gateway","name":"gateway","synopsis":"Package gateway 是示例消费方模块：经契约边界调用 greet 域。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/examples/greeter/greet","name":"greet","synopsis":"Package greet 是示例提供方模块，演示业务域模块的标准形态： Provide 契约实现供同进程消费方 Resolve，Mount 自己的 HTTP 路由。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/examples/greeter/greetapi","name":"greetapi","synopsis":"","isRedistributable":true},{"path":"github.com/forgeplex/appkit/examples/refsorder","name":"main","synopsis":"refsorder demonstrates reusable order references without a database or server.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/health","name":"health","synopsis":"Package health 提供 liveness/readiness 探针注册表。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/httpserver","name":"httpserver","synopsis":"Package httpserver 提供根 HTTP 中间件链，标准库风格：接缝只出现 http.Handler，与 appkit.Middleware(httpserver.Base(log)...) 组合使用。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/idem","name":"idem","synopsis":"Package idem 实现 Stripe 式幂等键 HTTP 中间件。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/agentplan","name":"agentplan","synopsis":"Package agentplan builds reviewable plans from AppKit's existing generators.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/archcheck","name":"archcheck","synopsis":"Package archcheck 实现 appkit check 的四类架构检查： go.mod 依赖清单、Go import 边界、SQL 跨 schema 引用、迁移文件序号。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/cleanup","name":"cleanup","synopsis":"Package cleanup 提供取消安全但有上限的收尾 context。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/cli","name":"cli","synopsis":"appkit check —— 架构检查子命令的薄注册壳，全部实现见 internal/archcheck。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/dbaccess","name":"dbaccess","synopsis":"Package dbaccess parses and validates the declarative PostgreSQL access contract consumed by the appkit db-access command.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/dbtest","name":"dbtest","synopsis":"Package dbtest 收拢 appkit 自身需要 Postgres 的集成测试样板： 连池、建随机 schema、应用迁移、测试结束整体拆除。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/doctor","name":"doctor","synopsis":"Package doctor 诊断本机/CI 是否满足 appkit 多私有仓库开发的前置条件。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/gen","name":"gen","synopsis":"Package gen 实现 appkit gen 的四个代码生成器： contract（契约五件套：接口/DTO/wrapper/client/server + openapi 派生导出）、 events（事件类型）、errors（错误码）、wrap（契约 wrapper，ProvideContract 闭环）。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/gen/genfixture","name":"genfixture","synopsis":"","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/gen/genfixture_v2","name":"fixturev2","synopsis":"","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/hoststate","name":"hoststate","synopsis":"Package hoststate tracks ManagedService lifecycle state without depending on OpenTelemetry or any other third-party package.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/metrics","name":"metrics","synopsis":"Package metrics 集中定义 appkit 自动埋点的指标。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/outboundstate","name":"outboundstate","synopsis":"Package outboundstate shares request observation state between transport instrumentation and contract security policies without exposing public APIs.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/scaffold","name":"scaffold","synopsis":"Package scaffold 实现 appkit new / appkit dev： 生成域仓库与组合仓库骨架（embed 模板 + text/template）， 以及本地多仓联调的 go.work 维护。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/scaffold/schematool","name":"main","synopsis":"Command schematool derives sqlc's current schema from migrations in a scratch database.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/schemadoc","name":"schemadoc","synopsis":"Package schemadoc 实现 appkit schema：把 db/migrations 派生成一份可 review、 可 grep、GitHub 直接渲染的 schema 视图（db/SCHEMA.md + db/schema/）。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/internal/workspace","name":"workspace","synopsis":"Package workspace creates deterministic, path-safe plans and applies their explicit file transitions with verified snapshot preconditions.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/job","name":"job","synopsis":"Package job 提供跨副本互斥的周期任务。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/money","name":"money","synopsis":"Package money 提供不可变的金额值类型：decimal 数额 + 币种代码。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/money/pgxmoney","name":"pgxmoney","synopsis":"Package pgxmoney 把 Postgres NUMERIC ↔ shopspring/decimal 的编解码注册进 pgx v5 的 type map，供 sqlc 生成代码与手写查询直接以 decimal.Decimal 读写 NUMERIC 列（全系统禁 float 金额的数据库侧落点）。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/outbound","name":"outbound","synopsis":"Package outbound provides controlled clients for outbound HTTP calls.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/outbox","name":"outbox","synopsis":"Package outbox 实现事务性事件外发（transactional outbox）与幂等消费（inbox）。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/page","name":"page","synopsis":"Package page 是列表端点的分页机制件：参数解析与校验、游标编解码、 统一响应信封、「多取一行判下一页」的标准技巧。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/pgmigrate","name":"pgmigrate","synopsis":"Package pgmigrate 是配合 appkit.Migrator 选项的极简 schema 级迁移 runner。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/pgtx","name":"pgtx","synopsis":"Package pgtx 是 tx.Transactor 的 pgx 实现：事务句柄经 tx.With 藏进 ctx， 业务代码只见 context.Context。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/refs","name":"refs","synopsis":"Package refs supplies optional, single-valued cross-domain reference maps and versioned resource definitions.","isRedistributable":true},{"path":"github.com/forgeplex/appkit/ruleset","name":"ruleset","synopsis":"Package ruleset 渲染并分发框架规则集：.golangci.yml、.go-arch-lint.yml 与域仓库的 CI 引用文件。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/telemetry","name":"telemetry","synopsis":"Package telemetry 统一初始化三信号：slog 日志、OpenTelemetry trace 与 metric。","isRedistributable":true},{"path":"github.com/forgeplex/appkit/tx","name":"tx","synopsis":"Package tx 是事务边界的接口面，零驱动依赖。","isRedistributable":true}],"total":48}}
