Documentation
¶
Index ¶
- type Category
- type Config
- type ErrNotFound
- type Manager
- func (d *Manager) CreateCategory(ctx context.Context, category Category) (Category, error)
- func (d *Manager) CreateTask(ctx context.Context, task Task) (Task, error)
- func (d *Manager) CreateTaskFeed(ctx context.Context, taskFeed TaskFeed) (TaskFeed, error)
- func (d *Manager) CreateUser(ctx context.Context, user User) (User, error)
- func (d *Manager) GetCategory(ctx context.Context, name string) (Category, error)
- func (d *Manager) GetTask(ctx context.Context, name string) (Task, error)
- func (d *Manager) GetUser(ctx context.Context, username string) (User, error)
- func (d *Manager) ListCategories(ctx context.Context) ([]Category, error)
- func (d *Manager) ListTasks(ctx context.Context) ([]Task, error)
- func (d *Manager) ListTasksFeed(ctx context.Context) ([]TaskFeed, error)
- func (d *Manager) ListUsers(ctx context.Context) ([]User, error)
- type Task
- type TaskFeed
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrNotFound ¶
type ErrNotFound struct {
// contains filtered or unexported fields
}
func (*ErrNotFound) Error ¶
func (c *ErrNotFound) Error() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) CreateCategory ¶
func (*Manager) CreateTask ¶
func (*Manager) CreateTaskFeed ¶
func (*Manager) CreateUser ¶
func (*Manager) GetCategory ¶
func (*Manager) ListCategories ¶
func (*Manager) ListTasksFeed ¶
Click to show internal directories.
Click to hide internal directories.