Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
UserResource resource.IUserResource
}
func (*AuthService) LoginAuth ¶
func (s *AuthService) LoginAuth(payload *input.LoginAuthDTO) (*output.LoginAuthDTO, error)
func (*AuthService) RegisterAuth ¶
func (s *AuthService) RegisterAuth(payload *input.RegisterAuthDTO) error
type IAuthService ¶
type IAuthService interface { RegisterAuth(payload *input.RegisterAuthDTO) error LoginAuth(payload *input.LoginAuthDTO) (*output.LoginAuthDTO, error) }
func InitAuthService ¶
func InitAuthService(userResource resource.IUserResource) IAuthService
Click to show internal directories.
Click to hide internal directories.