cl

package
v0.0.0-...-0064678 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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) Check

func (redisConnect *AuthRepositoryImpl) Check(token string) (string, string, bool, error)

func (*AuthRepositoryImpl) Login

func (redisConnect *AuthRepositoryImpl) Login(email, pass string) (string, string, error)

func (*AuthRepositoryImpl) ParseError

func (redisConnect *AuthRepositoryImpl) ParseError(err error) error

func (*AuthRepositoryImpl) SignUp

func (redisConnect *AuthRepositoryImpl) SignUp(email, pass string) (string, string, error)

Jump to

Keyboard shortcuts

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