Documentation ¶
Index ¶
- func ExcludeSensitiveHeader(header http.Header) (h http.Header)
- func ExcludeSensitiveRequestBody(body *string)
- func IsClientError(code int) bool
- func IsRedirection(code int) bool
- func IsServerError(code int) bool
- func IsSuccess(code int) bool
- func KitabisaHeader(req *http.Request, clientName, clientVersion, requestID string) *http.Request
- func ReadRequestBody(req *http.Request) (bodyString string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExcludeSensitiveHeader ¶
ExcludeSensitiveHeader exclude sensitive header. Currently, sensitive header only Authorization
func ExcludeSensitiveRequestBody ¶
func ExcludeSensitiveRequestBody(body *string)
func IsClientError ¶
func IsRedirection ¶
func IsServerError ¶
func KitabisaHeader ¶
func ReadRequestBody ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.