Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionRepository ¶
type UserRepository ¶
type UserRepository interface { //Fetch(cursor string, num int64) ([]*model.User, error) GetAll() ([]*model.User, error) GetByID(id uint) (*model.User, error) GetByEmail(email string) (*model.User, error) Update(u *model.User) (*model.User, error) Store(u *model.User) (uint, error) Delete(id uint) (bool, error) }
Click to show internal directories.
Click to hide internal directories.