Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetUserCount(ctx context.Context) (int, error) Login(ctx context.Context, username, password string) (*domain.User, error) CreateUser(ctx context.Context, req domain.CreateUserRequest) error UpdateUser(ctx context.Context, req domain.UpdateUserRequest) error CreateHash(password string) (hash string, err error) ComparePasswordAndHash(password string, hash string) (match bool, err error) }
Click to show internal directories.
Click to hide internal directories.