Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithServerTelemetry ¶
func WithServerTelemetry(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
todo 支持切面方法
Types ¶
type IClient ¶
type IClient interface { GetConn() *grpc.ClientConn Close() error }
grpc 基础客户端, 预设配置和工具.
Click to show internal directories.
Click to hide internal directories.