Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface { Register(ctx context.Context, input dto.RegisterReq) (res *models.User, err error) Login(ctx context.Context, input dto.LoginReq) (res *dto.LoginRes, err error) }
func NewAuthService ¶
func NewAuthService( params AuthSrv, ) AuthService
type AuthSrv ¶
type AuthSrv struct { Repo repository.AuthRepository RepoCache cacheRepo.CacheRepository RepoUser userRepo.UserRepository RepoLog logRepo.LogRepository Cfg *configs.Configs Logger *logrus.Logger }
Click to show internal directories.
Click to hide internal directories.