Documentation ¶
Overview ¶
Package users provides the user related business logic.
Index ¶
- func From(ctx context.Context) *types.User
- func GetUser(ctx context.Context, be *backend.Backend, username string) (*types.User, error)
- func IsCorrectPassword(ctx context.Context, be *backend.Backend, username, password string) (*types.User, error)
- func SignUp(ctx context.Context, be *backend.Backend, username, password string) (*types.User, error)
- func With(ctx context.Context, user *types.User) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCorrectPassword ¶
func IsCorrectPassword( ctx context.Context, be *backend.Backend, username, password string, ) (*types.User, error)
IsCorrectPassword checks if the password is correct.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.