Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserConfigService ¶
type UserConfigService interface { UpdateUserConfig(userConfig *model.UserConfiguration) error GetUserConfig() (userConfig *model.UserConfiguration, err error) ValidateUser(user *model.User, isAdminCreation bool) error }
func NewUserConfigService ¶
func NewUserConfigService(configRepository repository.UsersConfigRepository) UserConfigService
type UserService ¶
type UserService interface { CreateUser(user *model.User) error GetUserById(id string) (*model.User, error) GetAllUsersByPage(page int, size int) (*model.UserPage, error) UpdateUser(user *model.User) (*model.User, error) RemoveUserById(id string) error }
func NewUserService ¶
func NewUserService(usersRepository repository.UsersRepository, configRepository repository.UsersConfigRepository) UserService
Click to show internal directories.
Click to hide internal directories.