package
0.0.0-20240516065436-a2bc238b4b59
Repository: https://github.com/tools-go/go-utils.git
Documentation: pkg.go.dev
# Functions
BadRequest will return an error message indicating that the request is invalid.
CommReply can be used for replying some common data.
Conflict xxx.
Forbidden will block user access the resource, not authorized.
InternalError will return an error message indicating that the something is error inside the controller.
NotAcceptable xxx.
OK reply.
ProcessError xxx.
Reply can be used for replying response Rename this to "reply" in the future because should call ResponseReply instead.
ResourceNotFound will return an error message indicating that the resource is not exist.
ServiceUnavailable will return an error message indicating that the service is not available now.
SetRequestID will set the response header of the requestID.
Unauthorized will block user access the api, not login.