Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct { ReportHandler // contains filtered or unexported fields }
Proxy proxy of ReportHandler
func (*Proxy) HandleRequest ¶
func (p *Proxy) HandleRequest(req *model.ReportClientRequest)
HandleRequest Handling Request body for Report
func (*Proxy) HandleResponse ¶
func (p *Proxy) HandleResponse(resp *model.ReportClientResponse, err error)
HandleResponse Handling Report Responsive Body
type ReportHandler ¶
type ReportHandler interface { plugin.Plugin InitLocal(*namingpb.Client) // HandleRequest Handling Request body for Report HandleRequest(req *model.ReportClientRequest) // HandleResponse Handling Report Responsive Body HandleResponse(resp *model.ReportClientResponse, err error) }
ReportHandler Request body and responsive body during reportClient
type ReportHandlerChain ¶
type ReportHandlerChain struct {
Chain []ReportHandler
}
ReportHandlerChain report handler chain
Click to show internal directories.
Click to hide internal directories.