Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallerServiceInfo ¶
type CallerServiceInfo struct {
Env string
Region string
CallerServiceName string
CallerServiceMethod string
CallerServiceGroup string
CallerServiceProject string
CallerServiceProduct string
CallerServiceBizName string
CallerServiceHost string
CallerServiceIdc string
}
func ExtractUpstreamServiceInfo ¶
func ExtractUpstreamServiceInfo(ctx context.Context) *CallerServiceInfo
ExtractUpstreamServiceInfo 从ctx中提取上游调用方信息
type IRpcWrapper ¶
type IRpcWrapper interface {
// ClientWrapper rpc 客户端 wrapper
ClientWrapper() client.CallWrapper
// ServerWrapper rpc 服务端 wrapper
ServerWrapper() server.HandlerWrapper
}
IRpcWrapper rpc wrapper: 增强rpc功能的wrapper
Click to show internal directories.
Click to hide internal directories.