Flagr 是一个功能开关、A/B 测试和动态配置微服务。
## Flagr 是什么? Flagr 是一个开源的 **Go** 服务,用于功能开关、A/B 测试和动态配置。一个原语——**flag**——支撑了这三者:你的代码调用 **`POST /api/v1/evaluation`**,Flagr 会查看**谁**在请求(`entityID`、`entityContext`),并返回一个**变体**以及可选的 JSON **附件**。 这让你能够**将部署与发布解耦**(先以暗模式发布代码,再按受众逐步开启),通过粘性分配运行**实验**,并在不重新部署的情况下更改**运行时配置**。 [`openflagr/flagr`](https://github.com/openflagr/flagr) 是 Flagr 的社区主页,延续了原始 [`checkr/flagr`](https://github.com/checkr/flagr) 的开发。 --- ## 文档 **网站:** [https://openflagr.github.io/flagr](https://openflagr.github.io/flagr)(VitePress) **贡献者:** 克隆仓库并运行 **`make help`**(构建、测试、UI、CI 目标)。文档:`make serve-docs`(http://127.0.0.1:8081/flagr/)/ `make build-docs` → `docs/.vitepress/dist`。 | 页面 | 内容 | |------|---------| | [行为契约](https://openflagr.github.io/flagr/flagr_behavioral_contracts) | 评估与曝光、记录、仅评估、缓存 | | [集成指南](https://openflagr.github.io/flagr/integration) | 评估、批量、曝光(客户端 API) | | [贡献指南](https://openflagr.github.io/flagr/CONTRIBUTING) | 克隆、构建、测试、OpenAPI | | [概述](https://openflagr.github.io/flagr/flagr_overview) | 概念、运行示例、架构 | | [使用场景](https://openflagr.github.io/flagr/flagr_use_cases) | 开关、A/B、动态 |
暂无开放 Issues,或尚未同步最近议题。