Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDatabaseConnectionProblem = errors.New("occur a problem with database connection") ErrInvalidEmailOrPassword = errors.New("invalid email or password") )
AuthService context generic error
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
AuthService defines how an auth service should be implemented
func NewAuthService ¶
func NewAuthService( tokenRepository repository.TokenRepository, userRepository repository.UserRepository, ) AuthService
NewAuthService creates an auth service instance
Click to show internal directories.
Click to hide internal directories.