Documentation
¶
Index ¶
- type Service
- func (s Service) Check(ctx context.Context, old, new model.User) error
- func (s Service) CheckRights(ctx context.Context, id uint64) error
- func (s Service) Create(ctx context.Context, user model.User) (model.User, error)
- func (s Service) Delete(ctx context.Context, user model.User) error
- func (s Service) Get(ctx context.Context, ID uint64) (model.User, error)
- func (s Service) Update(ctx context.Context, user model.User) (model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶ added in v2.16.0
type Service struct {
// contains filtered or unexported fields
}
func (Service) CheckRights ¶ added in v2.16.0
Click to show internal directories.
Click to hide internal directories.