repository

package
v0.0.0-...-9a5def8 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JwtClaimsRepository

type JwtClaimsRepository interface {
	CreateToken() string
}

JwtClaimsRepository interface

type UserRepository

type UserRepository interface {
	GetAll() ([]entity.User, error)
	GetAllWithInActive() ([]entity.User, error)
	Get(userID uint64) (entity.User, error)
	GetByIDAndEmail(userID uint64, email string) (entity.User, error)
	GetByEmail(email string) (entity.User, error)
	Create(name, email, password string) error
	Update(userID uint64, name, email, password string) error
	InActive(userID uint64) error
	Auth(email, password string) (entity.User, error)
	RecordNotFoundError(err error) bool
}

UserRepository interface

Jump to

Keyboard shortcuts

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