Documentation ¶
Index ¶
- type AuthRepository
- type AuthRepositoryImpl
- func (redisConnect *AuthRepositoryImpl) Check(token string) (string, string, bool, error)
- func (redisConnect *AuthRepositoryImpl) Login(email, pass string) (string, string, error)
- func (redisConnect *AuthRepositoryImpl) ParseError(err error) error
- func (redisConnect *AuthRepositoryImpl) SignUp(email, pass string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRepository ¶
type AuthRepository interface { Login(email, pass string) (string, string, error) Check(token string) (string, string, bool, error) SignUp(email, pass string) (string, string, error) }
func NewAuthRepository ¶
func NewAuthRepository(log *logrus.Entry, cl handler.UserAuthClient) AuthRepository
type AuthRepositoryImpl ¶
type AuthRepositoryImpl struct {
// contains filtered or unexported fields
}
func (*AuthRepositoryImpl) Login ¶
func (redisConnect *AuthRepositoryImpl) Login(email, pass string) (string, string, error)
func (*AuthRepositoryImpl) ParseError ¶
func (redisConnect *AuthRepositoryImpl) ParseError(err error) error
Click to show internal directories.
Click to hide internal directories.