logic

package
v0.0.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RsaKeys *v1.RsaKeys = nil

RsaKeys object reference for v1.RsaKeys

Functions

func InitMockUserResourcePermissions

func InitMockUserResourcePermissions()

InitMockUserResourcePermissions init mock data

func InitMockUsers

func InitMockUsers()

InitMockUsers init mock data

func NewEmailService

func NewEmailService() service.Media

NewEmailService returns service.Media type service

func NewHttpClientService

func NewHttpClientService() service.HttpClient

NewHttpClientService returns service.HttpClient type service

func NewJwtService

func NewJwtService() service.Jwt

NewJwtService returns service.Jwt type service

func NewMockEmailService

func NewMockEmailService() service.Media

NewMockEmailService returns service.Media type service

func NewMockOtpService

func NewMockOtpService() service.Otp

NewMockOtpService returns service.Otp type service

func NewMockPhoneService

func NewMockPhoneService() service.Media

NewMockPhoneService returns service.Media type service

func NewMockRoleService

func NewMockRoleService() service.Role

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

func NewPhoneService() service.Media

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

func NewTokenMock() service.Token

NewTokenMock returns service.Token type service

func NewTokenService

func NewTokenService(tokenRepo repository.Token, jwtService service.Jwt) service.Token

NewTokenService returns service.Token type service

func NewUserMock

func NewUserMock(emailMediaService service.Media, phoneMediaService service.Media) service.User

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL