package
0.0.0-20221213181224-8cb3723bd921
Repository: https://github.com/alpacahq/ribbit-backend.git
Documentation: pkg.go.dev

# Functions

Register is used for registering models.

# Constants

AdminRole has admin specific permissions.
SuperAdminRole has all permissions.
UserRole is a standard user.

# Variables

Models hold registered models in-memory.

# Structs

No description provided by the author
No description provided by the author
AuthToken holds authentication token details with refresh token.
AuthUser represents data stored in JWT token for user.
Verification stores randomly generated tokens that can be redeemed.
Base contains common fields for all tables.
Verification stores randomly generated tokens that can be redeemed.
ListQuery holds company/location data used for list db queries.
LoginResponseWithToken holds authentication token details with refresh token.
Pagination holds pagination's data.
No description provided by the author
ReferralCodeVerifyResponse.
RefreshToken holds authentication token details.
No description provided by the author
Role model.
User represents user domain model.
No description provided by the author
Verification stores randomly generated tokens that can be redeemed.

# Interfaces

AccountRepo represents account database interface (the repository).
No description provided by the author
AuthService represents authentication service interface.
RBACService represents role-based access control service interface.
RoleRepo represents the database interface.
UserRepo represents user database interface (the repository).

# Type aliases

AccessRole represents access role type.