Documentation
¶
Index ¶
- func GetHTTPClient(logger *zap.Logger, config types.BackendV2) *http.Client
- func HttpErrorByCode(err merry.Error) merry.Error
- func HttpErrorCode(err merry.Error) (code int)
- func MergeHttpErrorMap(errorsMap map[string]merry.Error) (returnCode int, errMap map[string]string)
- func MergeHttpErrors(errors []merry.Error) (int, []string)
- func MerryRootError(err error) string
- type HttpQuery
- type ServerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTTPClient ¶ added in v0.16.0
func HttpErrorCode ¶ added in v0.17.0
func MergeHttpErrorMap ¶ added in v0.15.3
func MerryRootError ¶ added in v0.17.0
MerryRootError strip merry error chain
Types ¶
type HttpQuery ¶
type HttpQuery struct {
// contains filtered or unexported fields
}
func NewHttpQuery ¶
type ServerResponse ¶
Click to show internal directories.
Click to hide internal directories.