Documentation ¶
Index ¶
- type Core
- func (c Core) Authenticate(ctx context.Context, now time.Time, email string, password string) (auth.Claims, error)
- func (c Core) Create(ctx context.Context, nu user.NewUser, now time.Time) (user.User, error)
- func (c Core) Delete(ctx context.Context, claims auth.Claims, userID string) error
- func (c Core) Query(ctx context.Context, pageNumber int, rowsPerPage int) ([]user.User, error)
- func (c Core) QueryByEmail(ctx context.Context, claims auth.Claims, email string) (user.User, error)
- func (c Core) QueryById(ctx context.Context, claims auth.Claims, userId string) (user.User, error)
- func (c Core) Update(ctx context.Context, claims auth.Claims, userID string, uu user.UpdateUser, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.