Documentation ¶
Index ¶
- type AuthHandler
- type TaskHandler
- func (h *TaskHandler) ChangeTaskName(ctx context.Context, arg *connect.Request[task_v1.ChangeTaskNameRequest]) (*connect.Response[task_v1.ChangeTaskNameResponse], error)
- func (h *TaskHandler) CompleteTask(ctx context.Context, arg *connect.Request[task_v1.CompleteTaskRequest]) (*connect.Response[task_v1.CompleteTaskResponse], error)
- func (h *TaskHandler) CreateTask(ctx context.Context, arg *connect.Request[task_v1.CreateTaskRequest]) (*connect.Response[task_v1.CreateTaskResponse], error)
- func (h *TaskHandler) DeleteTask(ctx context.Context, arg *connect.Request[task_v1.DeleteTaskRequest]) (*connect.Response[task_v1.DeleteTaskResponse], error)
- func (h *TaskHandler) GetTaskList(ctx context.Context, arg *connect.Request[task_v1.GetTaskListRequest]) (*connect.Response[task_v1.GetTaskListResponse], error)
- func (h *TaskHandler) UncompleteTask(ctx context.Context, arg *connect.Request[task_v1.UncompleteTaskRequest]) (*connect.Response[task_v1.UncompleteTaskResponse], error)
- type UserHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
usecase.IAuthUsecase
}
AuthServiceHandlerの実装
func NewAuthHandler ¶
func NewAuthHandler(uc usecase.IAuthUsecase) *AuthHandler
func (*AuthHandler) Login ¶
func (h *AuthHandler) Login(ctx context.Context, arg *connect.Request[auth_v1.LoginRequest]) (*connect.Response[auth_v1.LoginResponse], error)
type TaskHandler ¶
type TaskHandler struct { usecase.ITaskUsecase contextkey.IContextReader }
TaskServiceHandlerの実装
func NewTaskHandler ¶
func NewTaskHandler(uc usecase.ITaskUsecase, cr contextkey.IContextReader) *TaskHandler
func (*TaskHandler) ChangeTaskName ¶
func (h *TaskHandler) ChangeTaskName(ctx context.Context, arg *connect.Request[task_v1.ChangeTaskNameRequest]) (*connect.Response[task_v1.ChangeTaskNameResponse], error)
func (*TaskHandler) CompleteTask ¶
func (h *TaskHandler) CompleteTask(ctx context.Context, arg *connect.Request[task_v1.CompleteTaskRequest]) (*connect.Response[task_v1.CompleteTaskResponse], error)
func (*TaskHandler) CreateTask ¶
func (h *TaskHandler) CreateTask(ctx context.Context, arg *connect.Request[task_v1.CreateTaskRequest]) (*connect.Response[task_v1.CreateTaskResponse], error)
func (*TaskHandler) DeleteTask ¶
func (h *TaskHandler) DeleteTask(ctx context.Context, arg *connect.Request[task_v1.DeleteTaskRequest]) (*connect.Response[task_v1.DeleteTaskResponse], error)
func (*TaskHandler) GetTaskList ¶
func (h *TaskHandler) GetTaskList(ctx context.Context, arg *connect.Request[task_v1.GetTaskListRequest]) (*connect.Response[task_v1.GetTaskListResponse], error)
func (*TaskHandler) UncompleteTask ¶
func (h *TaskHandler) UncompleteTask(ctx context.Context, arg *connect.Request[task_v1.UncompleteTaskRequest]) (*connect.Response[task_v1.UncompleteTaskResponse], error)
type UserHandler ¶
type UserHandler struct {
usecase.IUserUsecase
}
UserServiceHandlerの実装
func NewUserHandler ¶
func NewUserHandler(uc usecase.IUserUsecase) *UserHandler
func (*UserHandler) GetUser ¶
func (h *UserHandler) GetUser(ctx context.Context, arg *connect.Request[user_v1.GetUserRequest]) (*connect.Response[user_v1.GetUserResponse], error)
Click to show internal directories.
Click to hide internal directories.