task

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package task provides the server implemenetation for the task service

Index

Constants

View Source
const Version string = "task/v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type NewServiceOption

type NewServiceOption func(s *TaskService)

func WithExchange

func WithExchange(e *events.Exchange) NewServiceOption

func WithLogger

func WithLogger(l logger.Logger) NewServiceOption

type TaskService

type TaskService struct {
	tasksv1.UnimplementedTaskServiceServer
	// contains filtered or unexported fields
}

func NewService

func NewService(repo repository.TaskRepository, opts ...NewServiceOption) *TaskService

func (*TaskService) Create

func (*TaskService) Delete

func (*TaskService) Get

func (*TaskService) Kill

func (*TaskService) List

func (*TaskService) Patch

func (*TaskService) Register

func (c *TaskService) Register(server *grpc.Server) error

func (*TaskService) Start

func (*TaskService) Update

func (*TaskService) UpdateStatus

Jump to

Keyboard shortcuts

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