Documentation
¶
Index ¶
- type Provider
- func (p *Provider) Create(ctx context.Context, req dto.UserCreateReq) (string, error)
- func (p *Provider) Delete(ctx context.Context, req dto.UserDeleteReq) error
- func (p *Provider) Get(ctx context.Context, req dto.UserGetReq) (*model.User, error)
- func (p *Provider) Update(ctx context.Context, req dto.UserUpdateReq) error
- type Repo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
type Repo ¶ added in v1.2.0
type Repo interface { ser.UserSaver ser.UserGetter ser.UserUpdater ser.UserDeleter }
Click to show internal directories.
Click to hide internal directories.