UsersRepo

interface UsersRepo

Interface representing a repository for managing users.

Functions

Link copied to clipboard
abstract suspend fun add(user: User)

Adds a new user to the repository.

Link copied to clipboard
abstract suspend fun get(id: UUID): User?

Retrieves a user by their unique identifier.

Link copied to clipboard
abstract suspend fun getByName(username: String): User?