Documentation
¶
Index ¶
- func NewAuthenticationRepo(h *handler.Handler) (domRepo.IAuthenticationRepo, error)
- type AuthenticationRepo
- func (r *AuthenticationRepo) ActivateRegistration(req *domSchema.ActivateRegistrationRequest, i identity.Identity) (*domSchema.ActivateRegistrationResponse, error)
- func (r *AuthenticationRepo) Login(req *domSchema.LoginRequest, i identity.Identity) (*domSchema.LoginResponse, error)
- func (r *AuthenticationRepo) LoginApp(req *domSchema.LoginAppRequest, i identity.Identity) (*domSchema.LoginAppResponse, error)
- func (r *AuthenticationRepo) Register(req *domSchema.RegisterRequest, i identity.Identity) (*domSchema.RegisterResponse, error)
- type BaseRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticationRepo ¶
func NewAuthenticationRepo(h *handler.Handler) (domRepo.IAuthenticationRepo, error)
NewAuthenticationRepo new AuthenticationRepo implement IAuthenticationRepo
Types ¶
type AuthenticationRepo ¶
type AuthenticationRepo struct { BaseRepo // contains filtered or unexported fields }
AuthenticationRepo type
func (*AuthenticationRepo) ActivateRegistration ¶
func (r *AuthenticationRepo) ActivateRegistration(req *domSchema.ActivateRegistrationRequest, i identity.Identity) (*domSchema.ActivateRegistrationResponse, error)
ActivateRegistration avtivate user registration
func (*AuthenticationRepo) Login ¶
func (r *AuthenticationRepo) Login(req *domSchema.LoginRequest, i identity.Identity) (*domSchema.LoginResponse, error)
Login user
func (*AuthenticationRepo) LoginApp ¶
func (r *AuthenticationRepo) LoginApp(req *domSchema.LoginAppRequest, i identity.Identity) (*domSchema.LoginAppResponse, error)
LoginApp login app
func (*AuthenticationRepo) Register ¶
func (r *AuthenticationRepo) Register(req *domSchema.RegisterRequest, i identity.Identity) (*domSchema.RegisterResponse, error)
Register user
type BaseRepo ¶
type BaseRepo struct {
// contains filtered or unexported fields
}
BaseRepo type
func (*BaseRepo) SetDBConnectionName ¶
SetDBConnectionName set DBConnectionName
func (*BaseRepo) SetHandler ¶
SetHandler set Handler
Click to show internal directories.
Click to hide internal directories.