task

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Tasks = "mdstasks"
	Info  = "info"
)
View Source
const (
	EndPoint = "task"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*core.Service
}

func NewService

func NewService(hostUrl *string, root *core.Root) *Service

func (*Service) GetTask

func (s *Service) GetTask(id string) (*model.Task, error)

GetTask - Return dto of task

func (*Service) GetTasks

func (s *Service) GetTasks(query *TasksQuery) (model.Paged[model.Task], error)

GetTasks - Returns page of tasks

type TasksQuery

type TasksQuery struct {
	ResourceName string `schema:"resourceName,omitempty"`
	model.PageQuery
}

Jump to

Keyboard shortcuts

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