Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService interface { Create(uDTO *domain.UserCreateDTO) (*domain.User, error) FindOne(uID uint64, restricted bool) (*domain.User, error) FindOneBySocialID(uDTO *domain.UserFindOneBySocialIDDTO) (*domain.User, error) FindGroup(uGroup uint64) (*domain.Users, error) FindAll(uDTO *domain.UserFindAllDTO) (*domain.Users, error) Update(uID uint64, uDTO *domain.UserUpdateDTO) (*domain.User, error) UpdateLastAccessTime(uID uint64) (*domain.User, error) SignIn(uID uint64, uDTO *domain.UserSignInDTO) (*domain.User, error) IsAuthenticated(uAuth string, uAgent string) (*domain.User, error) }
func NewUserService ¶
func NewUserService(r storage.UserStorage) UserService
Click to show internal directories.
Click to hide internal directories.