Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Users ¶
type Users interface { SaveUser(ctxt, *models.User) (*models.User, error) GetUser(ctxt, string) (*models.User, error) GetByEmail(ctxt, string) (*models.User, error) DeleteUser(ctxt, string) (string, error) UpdateUser(ctxt, *models.User) (*models.User, error) LoginUser(ctxt, string, string) (string, error) LoginAdmin(ctxt, string, string) (string, error) IsAdmin(ctxt, string) (bool, error) }
Click to show internal directories.
Click to hide internal directories.