pgstore

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: 7 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 New

func New(dbURL string) (*TaskStore, error)

func (*TaskStore) CancelTask

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

func (*TaskStore) Close

func (s *TaskStore) Close()

func (*TaskStore) CreateTask

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

func (*TaskStore) DeleteTaskFromList

func (s *TaskStore) DeleteTaskFromList(ctx context.Context, taskID, listType string) error

func (*TaskStore) DoneTask

func (s *TaskStore) DoneTask(ctx 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(ctx context.Context, listType string) (models.TaskList, error)

func (*TaskStore) NewSprint

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

func (*TaskStore) TakeTaskToList

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

func (*TaskStore) UndoneTask

func (s *TaskStore) UndoneTask(ctx 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