package
0.0.0-20241224000345-9d0ca11b7e83
Repository: https://github.com/gilperopiola/grpc-gateway-impl.git
Documentation: pkg.go.dev

# Functions

Translates to HTTP 409 Conflict Error.
We return this on unexpected errors coming from the DB Layer.
We also return this from the Login, but after succesfully matching the credentials.
No description provided by the author
We return this on username or password mismatch on the Auth Service's Login.
This checks for gorm/mongo error types, not our custom ones.
Mimics errors.New, but allows for any type of message.
Returns a GRPC Status error with our custom ServiceErr inside.

# Constants

No description provided by the author
No description provided by the author
JWT Generation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JWT Validation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DB Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTP Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
We don't use %w as grpc.Status fmt.Sprints the error,.
so no error wrapping.
No description provided by the author

# Structs

No description provided by the author
Our Service Errors must be GRPC 'Status' errors, as our Service speaks GRPC.