Documentation
¶
Index ¶
- Variables
- type ReportHandler
- func (h *ReportHandler) Destroy() error
- func (h *ReportHandler) HandleRequest(req *model.ReportClientRequest)
- func (h *ReportHandler) HandleResponse(resp *model.ReportClientResponse, err error)
- func (h *ReportHandler) Init(ctx *plugin.InitContext) error
- func (h *ReportHandler) InitLocal(_ *namingpb.Client)
- func (h *ReportHandler) Name() string
- func (h *ReportHandler) Type() common.Type
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ReportHandlerForInjectClientID = "clientIdInjectReport"
)
Functions ¶
This section is empty.
Types ¶
type ReportHandler ¶
type ReportHandler struct { *plugin.PluginBase // contains filtered or unexported fields }
ReportHandler 处于ReportClient请求的前后置处理器 该插件主要用于注入 ClientID 信息
func (*ReportHandler) HandleRequest ¶
func (h *ReportHandler) HandleRequest(req *model.ReportClientRequest)
HandleRequest Handling Request body for Report
func (*ReportHandler) HandleResponse ¶
func (h *ReportHandler) HandleResponse(resp *model.ReportClientResponse, err error)
HandleResponse Handling Report Responsive Body
func (*ReportHandler) InitLocal ¶
func (h *ReportHandler) InitLocal(_ *namingpb.Client)
Click to show internal directories.
Click to hide internal directories.