Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthResource ¶
func GenerateJWT ¶
Types ¶
type UserDao ¶
type UserDao interface { CreateUser(user model.User) error CreateAdminUser(user model.User) error GetUser(id string) (*model.User, error) GetAllUsers() ([]model.User, error) GetUserByEmail(email string) (*model.User, error) UpdateUser(user model.User) error DeleteUser(id string) (*model.User, error) }
Interface para operações de usuário
func NewUserDao ¶
Click to show internal directories.
Click to hide internal directories.