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
Click to show internal directories.
Click to hide internal directories.