Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseUseCase ¶
type BaseUseCase struct{}
type User ¶
type User interface { Create(ctx context.Context, article *entity.User) (*entity.User, error) Update(ctx context.Context, article *entity.User) (*entity.User, error) Delete(ctx context.Context, guid string) error Get(ctx context.Context, params map[string]string) (*entity.User, error) List(ctx context.Context, limit, offset uint64) (*entity.Users, error) UniqueEmail(ctx context.Context, request *entity.IsUnique) (*entity.Response, error) UpdateRefresh(ctx context.Context, request *entity.UpdateRefresh) (*entity.Response, error) UpdatePassword(ctx context.Context, request *entity.UpdatePassword) (*entity.Response, error) }
func NewUserService ¶
func NewUserService(ctxTimeout time.Duration, repo repository.Users) User
Click to show internal directories.
Click to hide internal directories.