//
pkg.gl
Category
github.com/infraboard/mcube/v2
grpc
middleware
exception
package
2.0.49
Repository:
https://github.com/infraboard/mcube.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
4
Dependents
3
Files
29 SLOC
#
Functions
NewUnaryClientInterceptor
grpc server端 的异常只支持 code 与 description, 为了能完整把异常传递给下游调用方, 把异常放到了grpc response header中 客户端如果发现有这个key 说明该异常是我们定义的业务异常对象(API Exception), 需要还原。.
#
Structs
UnaryClientInterceptor
No description provided by the author