Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserStorer ¶
type UserStorer interface { Login(username, password string) (entities.User, error) Register(user *entities.User) error GetAllUsers() ([]entities.User, error) GetUser(id string) (entities.User, error) DeleteUser(id string) error UpdateUser(id string, userForm *entities.UserForm) (entities.User, error) }
UserStorer interface
Click to show internal directories.
Click to hide internal directories.