package
1.0.1
Repository: https://github.com/aerosystems/mail-service.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ErrorResponse takes a response status code and arbitrary data and writes a json response to the client in depends on Header Accept and APP_ENV environment variable(has two possible values: dev and prod) - APP_ENV=dev responds debug info level of error - APP_ENV=prod responds just message about error [DEFAULT].
No description provided by the author
SuccessResponse takes a response status code and arbitrary data and writes a json response to the client in depends on Header Accept.

# Structs

No description provided by the author
ErrResponse is the type used for sending JSON around.
No description provided by the author
Response is the type used for sending JSON around.
No description provided by the author