memstore

package
v0.0.0-...-32b64ec Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskStore

type TaskStore struct {
	// contains filtered or unexported fields
}

func NewTaskStore

func NewTaskStore() *TaskStore

func (*TaskStore) CancelTask

func (s *TaskStore) CancelTask(_ context.Context, taskID string) error

func (*TaskStore) CreateTask

func (s *TaskStore) CreateTask(_ context.Context, task models.Task, listID string) (string, error)

func (*TaskStore) DeleteTaskFromList

func (s *TaskStore) DeleteTaskFromList(_ context.Context, taskID, listID string) error

func (*TaskStore) DoneTask

func (s *TaskStore) DoneTask(_ context.Context, taskID string) error

func (*TaskStore) GetSprintTemplate

func (s *TaskStore) GetSprintTemplate(ctx context.Context) (models.SprintTemplate, error)

func (*TaskStore) ListTasks

func (s *TaskStore) ListTasks(_ context.Context, listID string) (models.TaskList, error)

func (*TaskStore) NewSprint

func (s *TaskStore) NewSprint(_ context.Context, title string) error

func (*TaskStore) TakeTaskToList

func (s *TaskStore) TakeTaskToList(_ context.Context, taskID, listIDs string) error

func (*TaskStore) UndoneTask

func (s *TaskStore) UndoneTask(_ context.Context, taskID string) error

func (*TaskStore) UpdateTask

func (s *TaskStore) UpdateTask(ctx context.Context, taskID string, opts models.UpdateOptions) error

Jump to

Keyboard shortcuts

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