Skip to content

vicnoah/xgin

Repository files navigation

xgin grpc的ego组件

简介

对egin框架进行了扩展,支持gin直接绑定grpc数据:

  • 规范了标准配置格式,提供了统一的 Load().Build() 方法。
  • 支持自定义拦截器
  • 提供了默认的 Debug 拦截器,开启 Debug 后可输出 Request、Response 至终端。
  • 提供了默认的 Metric 拦截器,开启后可采集 Prometheus 指标数据
  • 提供了默认的 OpenTracing 拦截器,开启后可采集 Tracing Span 数据
  • 采用egin及egrpc作为基础组件

快速上手

xgin使用样例可参考 example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages