Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthUsecase ¶ added in v1.0.0
type SSOAuthenticator ¶ added in v1.0.0
type TodoRepository ¶
type TodoRepository interface { GetTodosByUserID(primitive.ObjectID) ([]*entity.Todo, error) GetTodoByID(primitive.ObjectID) (*entity.Todo, error) Create(entity.CreateTodoParam) (*entity.Todo, error) UpdateById(primitive.ObjectID, entity.UpdateTodoParam) (bool, error) DeleteById(primitive.ObjectID) (bool, error) }
type TodoUsecase ¶ added in v1.0.0
type TodoUsecase interface { GetAllUserTodos(primitive.ObjectID) ([]*entity.Todo, error) GetTodo(primitive.ObjectID) (*entity.Todo, error) CreateTodo(entity.CreateTodoParam) (*entity.Todo, error) UpdateTodo(primitive.ObjectID, entity.UpdateTodoParam) (bool, error) DeleteTodo(primitive.ObjectID) (bool, error) }
Click to show internal directories.
Click to hide internal directories.