Documentation
¶
Index ¶
- Variables
- type EventService
- type Service
- func (s *Service) ReadCustomAttributesInStorageForm(ctx context.Context, role accesscontrol.Role, userID string, ...) (map[string]interface{}, error)
- func (s *Service) UpdateAllCustomAttributes(ctx context.Context, role accesscontrol.Role, userID string, ...) error
- func (s *Service) UpdateCustomAttributesWithForm(ctx context.Context, role accesscontrol.Role, userID string, ...) error
- func (s *Service) UpdateCustomAttributesWithList(ctx context.Context, role accesscontrol.Role, userID string, attrs attrs.List) error
- type ServiceNoEvent
- func (s *ServiceNoEvent) ReadCustomAttributesInStorageForm(ctx context.Context, role accesscontrol.Role, userID string, ...) (map[string]interface{}, error)
- func (s *ServiceNoEvent) ReadCustomAttributesInStorageFormForUsers(ctx context.Context, role accesscontrol.Role, userIDs []string, ...) (map[string]map[string]interface{}, error)
- func (s *ServiceNoEvent) UpdateAllCustomAttributes(ctx context.Context, role accesscontrol.Role, userID string, ...) error
- func (s *ServiceNoEvent) UpdateCustomAttributesWithForm(ctx context.Context, role accesscontrol.Role, userID string, ...) error
- func (s *ServiceNoEvent) UpdateCustomAttributesWithList(ctx context.Context, role accesscontrol.Role, userID string, l attrs.List) error
- type UserQueries
- type UserStore
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type EventService ¶
type Service ¶
type Service struct { Config *config.UserProfileConfig ServiceNoEvent *ServiceNoEvent Events EventService }
func (*Service) ReadCustomAttributesInStorageForm ¶
func (*Service) UpdateAllCustomAttributes ¶
func (*Service) UpdateCustomAttributesWithForm ¶
type ServiceNoEvent ¶
type ServiceNoEvent struct { Config *config.UserProfileConfig UserQueries UserQueries UserStore UserStore }
func (*ServiceNoEvent) ReadCustomAttributesInStorageForm ¶
func (s *ServiceNoEvent) ReadCustomAttributesInStorageForm( ctx context.Context, role accesscontrol.Role, userID string, storageForm map[string]interface{}, ) (map[string]interface{}, error)
func (*ServiceNoEvent) ReadCustomAttributesInStorageFormForUsers ¶
func (s *ServiceNoEvent) ReadCustomAttributesInStorageFormForUsers( ctx context.Context, role accesscontrol.Role, userIDs []string, storageForms []map[string]interface{}, ) (map[string]map[string]interface{}, error)
Batch ReadCustomAttributesInStorageForm
func (*ServiceNoEvent) UpdateAllCustomAttributes ¶
func (s *ServiceNoEvent) UpdateAllCustomAttributes(ctx context.Context, role accesscontrol.Role, userID string, reprForm map[string]interface{}) error
func (*ServiceNoEvent) UpdateCustomAttributesWithForm ¶
func (s *ServiceNoEvent) UpdateCustomAttributesWithForm(ctx context.Context, role accesscontrol.Role, userID string, form map[string]string) error
func (*ServiceNoEvent) UpdateCustomAttributesWithList ¶
func (s *ServiceNoEvent) UpdateCustomAttributesWithList(ctx context.Context, role accesscontrol.Role, userID string, l attrs.List) error
type UserQueries ¶
Click to show internal directories.
Click to hide internal directories.