Documentation ¶
Index ¶
- func AllGlobalFilter(errFunc func() errors.CCErrorIf) ...
- func GenerateHttpHeaderRID(req *http.Request, resp http.ResponseWriter)
- func GetHTTPOtherRequestID(header http.Header) string
- func HTTPRequestIDFilter() ...
- func RequestLogFilter() ...
- func ServiceErrorHandler(err restful.ServiceError, req *restful.Request, resp *restful.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllGlobalFilter ¶
func GenerateHttpHeaderRID ¶
func GenerateHttpHeaderRID(req *http.Request, resp http.ResponseWriter)
func GetHTTPOtherRequestID ¶
getHTTPOtherRequestID return other system request id from http header
func HTTPRequestIDFilter ¶
func HTTPRequestIDFilter() func(req *restful.Request, resp *restful.Response, fchain *restful.FilterChain)
func RequestLogFilter ¶
func RequestLogFilter() func(req *restful.Request, resp *restful.Response, fchain *restful.FilterChain)
func ServiceErrorHandler ¶
func ServiceErrorHandler(err restful.ServiceError, req *restful.Request, resp *restful.Response)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.