# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
CheckPasswordHash is func to validate password hasher.
No description provided by the author
ErrorResponseJSON setting response for error condition.
FailureResponseJSON setting response for failure condition.
GetPagination to set pagination.
HashPassword is func to encrypt password.
IsNumber is func to validate type from input string is number or alphabet.
No description provided by the author
NewHTTPResponse creates a new HTTP Response.
SetDefaultPginationParam to set parametes of pagination.
SuccessResponseJSON setting response for success condition.
# Constants
APIFailureMessage is a default message for failure state.
StatusAPIXXX are statuses for API Response.
StatusAPIXXX are statuses for API Response.
StatusAPIXXX are statuses for API Response.
# Structs
API represents respond body for HTTP API.
APIError represents response body for API on error.
APIFailure represents body for API on failure.
APISuccess represents body for API on success.
PaginationParams represents body for payload for pagination.