Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheRepository ¶
type Repository ¶
func NewRepository ¶
type UserRepository ¶
type UserRepository interface { AddUser(user models.User) (id int64, err error) EditUser(user models.User) (err error) RemoveUser(userId int64) (err error) IsUserExistsById(userId int64) (user models.User, exists bool) GetUserListByIndex(user models.User) (result []models.User, err error) IsEmailExistsByIndex(email string) (user models.User, exists bool) IsUsernameExistsByIndex(username string) (user models.User, exists bool) }
Click to show internal directories.
Click to hide internal directories.