2 个仓库
Mapping of configuration data structures into strongly typed language structs using tags.
Distinct from Struct Mapping: Specifically targets application configuration mapping rather than general hash-to-struct decoding for data processing.
Explore 2 awesome GitHub repositories matching data & databases · Configuration. Refine with filters or upvote what's useful.
该项目是一个用于在 Go 中构建可扩展后端系统的微服务框架。它提供了一种分布式系统架构,集成了对服务发现、负载均衡和容错机制的支持。 该框架的独特之处在于领域驱动的分层架构和远程优先的配置系统,该系统在远程存储和本地文件之间同步设置并具有自动故障转移功能。它使用 gRPC 实现高性能通信模型,用于一元和流式数据交换,以及用于管理持久客户端连接的实时通知系统。 该系统涵盖了广泛的分布式能力,包括通过熔断和限流进行的流量管理,以及通过分布式追踪、集中式日志记录和健康监控实现的观测性。它还结合了数据基础设施工具,如概率布隆过滤器、分布式锁和基于令牌的服务认证。 该项目包括对容器化 Elasticsearch 和 HBase 环境的部署支持。
Automatically maps configuration data from files into strongly typed Go structs.
koanf is a configuration management library for Go designed to load, merge, and unmarshal application settings from multiple sources into structured objects. It functions as a multi-source config loader that aggregates data from environment variables, files, and remote providers into a single unified map. The system utilizes a pluggable architecture for parsing and data abstraction, allowing it to transform bytes from formats such as JSON, YAML, and TOML into nested maps. It supports dynamic configuration watching to monitor external sources and trigger automatic reloads when settings change.
Maps configuration keys to strongly typed Go structs using custom tags for easier access in application logic.