Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskHTTPHandler ¶
type TaskHTTPHandler struct {
// contains filtered or unexported fields
}
TaskHTTPHandler is an HTTP handler that exposes task endpoints.
func NewTaskHTTPHandler ¶
func NewTaskHTTPHandler(taskService port.TaskService) *TaskHTTPHandler
NewTaskHTTPHandler creates and returns a new JobHTTPHandler.
func (*TaskHTTPHandler) GetTasks ¶
func (hdl *TaskHTTPHandler) GetTasks(c *gin.Context)
GetTasks returns all registered tasks.
type TaskgRPCHandler ¶
type TaskgRPCHandler struct { pb.UnimplementedTaskServer // contains filtered or unexported fields }
TaskgRPCHandler is a gRPC handler that exposes task endpoints.
func NewTaskgRPCHandler ¶
func NewTaskgRPCHandler(taskService port.TaskService) *TaskgRPCHandler
NewTaskgRPCHandler creates and returns a new TaskgRPCHandler.
func (*TaskgRPCHandler) GetTasks ¶
func (hdl *TaskgRPCHandler) GetTasks(ctx context.Context, in *pb.GetTasksRequest) (*pb.GetTasksResponse, error)
Click to show internal directories.
Click to hide internal directories.