Documentation ¶
Index ¶
- Variables
- func GetDmManager() *dmManager
- func NewOtpRepository(timeout int) repository.Otp
- func NewPermissionRepository(timeout int) repository.Permission
- func NewResourceRepository(timeout int) repository.Resource
- func NewRoleRepository(timeout int) repository.Role
- func NewTokenRepository(timeout int) repository.Token
- func NewUserRepository(timeout int) repository.User
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OtpCollection = "otpCollection"
)
OtpCollection collection name
View Source
var (
PermissionCollection = "permissionCollection"
)
PermissionCollection collection name
View Source
var (
ResourceCollection = "resourceCollection"
)
ResourceCollection collection name
View Source
var (
RoleCollection = "roleCollection"
)
RoleCollection collection name
View Source
var (
TokenCollection = "tokenCollection"
)
TokenCollection collection name
View Source
var (
UserCollection = "userCollection"
)
UserCollection collection name
Functions ¶
func NewOtpRepository ¶
func NewOtpRepository(timeout int) repository.Otp
NewOtpRepository returns repository.Otp type repository
func NewPermissionRepository ¶
func NewPermissionRepository(timeout int) repository.Permission
NewPermissionRepository returns repository.Permission type repository
func NewResourceRepository ¶
func NewResourceRepository(timeout int) repository.Resource
NewResourceRepository returns repository.Resource type repository
func NewRoleRepository ¶
func NewRoleRepository(timeout int) repository.Role
NewRoleRepository returns repository.RoleDto type repository
func NewTokenRepository ¶
func NewTokenRepository(timeout int) repository.Token
NewTokenRepository returns repository.Token type repository
func NewUserRepository ¶
func NewUserRepository(timeout int) repository.User
NewUserRepository returns repository.User type repository
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.