爱意满满的作品展示区。
websong188

分享一个 自己在开发的 go grpc http 基础开发框架,请大佬帮忙吐槽指点下,想搞的规范干净些

  •  
  •   websong188 · Sep 3, 2023 · 1636 views
    This topic created in 985 days ago, the information mentioned may be changed or developed.

    项目地址

    https://github.com/webws/go-moda

    特性

    零零碎碎的弄了下面功能

    1. transport: 集成 http ( echo 、gin )和 grpc 。
    2. 统一服务启动入口
    3. config: 通用的配置文件读取模块,支持 toml 、yaml 和 json 格式。
    4. logger: 日志系统模块,基于 Zap,并支持全局日志和模块日志。
    5. pprof: 分析性能
    6. tracing: openTelemetry 实现微务链路追踪

    后续

    目前是结合 otel 搞一些示例代码 现在偶尔玩玩学学 k8s,打算做个简单一点的 k8s 管理系统,用我这个 api 框架康康

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5114 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 65ms · UTC 09:44 · PVG 17:44 · LAX 02:44 · JFK 05:44
    ♥ Do have faith in what you're doing.