tasks

package
v0.13.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	tasksv1connect.UnimplementedTaskServiceHandler

	*services.Common
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, repo repo.Backend, common *services.Common) (*Service, error)

func (*Service) AddTaskAttachment

func (svc *Service) AddTaskAttachment(ctx context.Context, req *connect.Request[tasksv1.AddTaskAttachmentRequest]) (*connect.Response[tasksv1.AddTaskAttachmentResponse], error)

func (*Service) AssignTask

func (svc *Service) AssignTask(ctx context.Context, req *connect.Request[tasksv1.AssignTaskRequest]) (*connect.Response[tasksv1.AssignTaskResponse], error)

func (*Service) CompleteTask

func (svc *Service) CompleteTask(ctx context.Context, req *connect.Request[tasksv1.CompleteTaskRequest]) (*connect.Response[tasksv1.CompleteTaskResponse], error)

func (*Service) CreateTask

func (svc *Service) CreateTask(ctx context.Context, req *connect.Request[tasksv1.CreateTaskRequest]) (*connect.Response[tasksv1.CreateTaskResponse], error)

func (*Service) CreateTaskComment added in v0.9.0

func (svc *Service) CreateTaskComment(ctx context.Context, req *connect.Request[tasksv1.CreateTaskCommentRequest]) (*connect.Response[emptypb.Empty], error)

func (*Service) DeleteTask

func (svc *Service) DeleteTask(ctx context.Context, req *connect.Request[tasksv1.DeleteTaskRequest]) (*connect.Response[emptypb.Empty], error)

func (*Service) DeleteTaskAttachment

func (svc *Service) DeleteTaskAttachment(ctx context.Context, req *connect.Request[tasksv1.DeleteTaskAttachmentRequest]) (*connect.Response[tasksv1.DeleteTaskAttachmentResponse], error)

func (*Service) FilterTasks added in v0.12.0

func (svc *Service) FilterTasks(ctx context.Context, req *connect.Request[tasksv1.FilterTasksRequest]) (*connect.Response[tasksv1.ListTasksResponse], error)

func (*Service) GetTask

func (svc *Service) GetTask(ctx context.Context, req *connect.Request[tasksv1.GetTaskRequest]) (*connect.Response[tasksv1.GetTaskResponse], error)

func (*Service) GetTimeline added in v0.8.0

func (svc *Service) GetTimeline(ctx context.Context, req *connect.Request[tasksv1.GetTimelineRequest]) (*connect.Response[tasksv1.GetTimelineResponse], error)

func (*Service) ListTasks

func (svc *Service) ListTasks(ctx context.Context, req *connect.Request[tasksv1.ListTasksRequest]) (*connect.Response[tasksv1.ListTasksResponse], error)

func (*Service) ManageSubscription added in v0.7.0

func (svc *Service) ManageSubscription(ctx context.Context, req *connect.Request[tasksv1.ManageSubscriptionRequest]) (*connect.Response[emptypb.Empty], error)

func (*Service) ParseFilter added in v0.12.0

func (svc *Service) ParseFilter(ctx context.Context, req *connect.Request[tasksv1.ParseFilterRequest]) (*connect.Response[tasksv1.ParseFilterResponse], error)

func (*Service) QueryView added in v0.12.7

func (svc *Service) QueryView(ctx context.Context, req *connect.Request[tasksv1.QueryViewRequest]) (*connect.Response[tasksv1.QueryViewResponse], error)

func (*Service) UpdateTask

func (svc *Service) UpdateTask(ctx context.Context, req *connect.Request[tasksv1.UpdateTaskRequest]) (*connect.Response[tasksv1.UpdateTaskResponse], error)

func (*Service) UpdateTaskComment added in v0.9.2

func (svc *Service) UpdateTaskComment(ctx context.Context, req *connect.Request[tasksv1.UpdateTaskCommentRequest]) (*connect.Response[emptypb.Empty], error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL