package
0.0.0-20210713204334-50f6f34a2ba7
Repository: https://github.com/msanvarov/gin-rest-prisma-boilerplate.git
Documentation: pkg.go.dev

# Functions

CheckPassword method checks the inputted password against the hashed password to validate their hashed equivalence.
CreateError responds to client requests with error payloads.
EncryptPassword method hashes the inputted password and returns whether or not the operation was successfull.

# Structs

BasicAuthorizer stores the casbin enforcer.
HTTPError structure to define response payload on error.

# Interfaces

IBasicAuthorizer interface.