UserRepository

io.letsstreamit.services.profile.core.interfaces.UserRepository

UserRepository responsible for handling user related database operations

Attributes

Note

this is an interface, the actual implementation is in the infrastructure layer

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def addVideo(email: String, videoId: String): Future[Either[Exception, String]]
def createUser(user: User): Future[Either[Exception, String]]
def getUser(email: String): Future[Option[User]]
def updateUser(user: User): Future[Either[Exception, String]]