Documentation
¶
Index ¶
- type Service
- func (a Service) Check(ctx context.Context, old, new model.User) error
- func (a Service) CheckRights(ctx context.Context, id uint64) error
- func (a Service) Create(ctx context.Context, user model.User) (model.User, error)
- func (a Service) Delete(ctx context.Context, user model.User) error
- func (a Service) Get(ctx context.Context, ID uint64) (model.User, error)
- func (a 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.