Documentation ¶
Index ¶
- Variables
- func InitMockUserResourcePermissions()
- func InitMockUsers()
- func NewEmailService() service.Media
- func NewHttpClientService() service.HttpClient
- func NewJwtService() service.Jwt
- func NewMockEmailService() service.Media
- func NewMockOtpService() service.Otp
- func NewMockPhoneService() service.Media
- func NewMockRoleService() service.Role
- func NewMockUserResourcePermissionService() service.UserResourcePermission
- func NewOtpService(repo repository.Otp) service.Otp
- func NewPermissionService(repo repository.Permission) service.Permission
- func NewPhoneService() service.Media
- func NewResourceService(repo repository.Resource) service.Resource
- func NewRoleService(roleRepo repository.Role, permissionService service.Permission) service.Role
- func NewTokenMock() service.Token
- func NewTokenService(tokenRepo repository.Token, jwtService service.Jwt) service.Token
- func NewUserMock(emailMediaService service.Media, phoneMediaService service.Media) service.User
- func NewUserResourcePermissionService(userRepo repository.User, roleRepo repository.Role) service.UserResourcePermission
- func NewUserService(userRepo repository.User, urpService service.UserResourcePermission, ...) service.User
Constants ¶
This section is empty.
Variables ¶
var RsaKeys *v1.RsaKeys = nil
RsaKeys object reference for v1.RsaKeys
Functions ¶
func InitMockUserResourcePermissions ¶
func InitMockUserResourcePermissions()
InitMockUserResourcePermissions init mock data
func NewEmailService ¶
NewEmailService returns service.Media type service
func NewHttpClientService ¶
func NewHttpClientService() service.HttpClient
NewHttpClientService returns service.HttpClient type service
func NewJwtService ¶
NewJwtService returns service.Jwt type service
func NewMockEmailService ¶
NewMockEmailService returns service.Media type service
func NewMockOtpService ¶
NewMockOtpService returns service.Otp type service
func NewMockPhoneService ¶
NewMockPhoneService returns service.Media type service
func NewMockRoleService ¶
NewMockRoleService returns service.RoleDto type service
func NewMockUserResourcePermissionService ¶
func NewMockUserResourcePermissionService() service.UserResourcePermission
NewMockUserResourcePermissionService returns service.UserResourcePermission type service
func NewOtpService ¶
func NewOtpService(repo repository.Otp) service.Otp
NewOtpService returns service.Otp type service
func NewPermissionService ¶
func NewPermissionService(repo repository.Permission) service.Permission
NewPermissionService returns service.Permission type service
func NewPhoneService ¶
NewPhoneService returns service.Media type service
func NewResourceService ¶
func NewResourceService(repo repository.Resource) service.Resource
NewResourceService returns service.Resource type service
func NewRoleService ¶
func NewRoleService(roleRepo repository.Role, permissionService service.Permission) service.Role
NewRoleService returns service.RoleDto type service
func NewTokenMock ¶
NewTokenMock returns service.Token type service
func NewTokenService ¶
NewTokenService returns service.Token type service
func NewUserMock ¶
NewUserMock returns service.User type service
func NewUserResourcePermissionService ¶
func NewUserResourcePermissionService(userRepo repository.User, roleRepo repository.Role) service.UserResourcePermission
NewUserResourcePermissionService returns service.UserResourcePermission type service
func NewUserService ¶
func NewUserService(userRepo repository.User, urpService service.UserResourcePermission, tokenService service.Token, otpService service.Otp, emailMediaService service.Media, phoneMediaService service.Media, httpClientService service.HttpClient) service.User
NewUserService returns service.User type service
Types ¶
This section is empty.