rdapi

package
v0.0.0-...-cb472e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllGlobalFilter

func AllGlobalFilter(errFunc func() errors.CCErrorIf) func(req *restful.Request, resp *restful.Response, fchain *restful.FilterChain)

func GenerateHttpHeaderRID

func GenerateHttpHeaderRID(req *http.Request, resp http.ResponseWriter)

func GetHTTPOtherRequestID

func GetHTTPOtherRequestID(header http.Header) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL