services

package
v0.0.0-...-b5756a5 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService interface {
	Login(user request.LoginRequest) response.Response
	Register(user request.CreateUserRequest) response.Response
	RefreshToken(user request.CreateUserRequest) response.Response
}

func NewAuthServiceImpl

func NewAuthServiceImpl(userRepo userrepository.UserRepository, validate *validator.Validate) AuthService

type AuthServiceImpl

type AuthServiceImpl struct {
	UserRepo userrepository.UserRepository
	Validate *validator.Validate
}

func (*AuthServiceImpl) Login

Login implements AuthService.

func (*AuthServiceImpl) RefreshToken

Refresh impements AuthService.

func (*AuthServiceImpl) Register

Register implements AuthService.

Jump to

Keyboard shortcuts

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