Documentation ¶
Index ¶
- Constants
- type Storage
- func (s *Storage) CreateTask(ctx context.Context, task *model.Task) error
- func (s *Storage) CreateTasks(ctx context.Context, tasks []*model.Task) error
- func (s *Storage) CreateTemplate(ctx context.Context, template *model.Template) error
- func (s *Storage) CreateTemplates(ctx context.Context, templates []*model.Template) error
- func (s *Storage) ReadTaskByID(ctx context.Context, id string) (*model.Task, error)
- func (s *Storage) ReadTasksByIDs(ctx context.Context, ids []string) ([]*model.Task, error)
- func (s *Storage) ReadTemplateByID(ctx context.Context, id string) (*model.Template, error)
- func (s *Storage) ReadTemplateByName(ctx context.Context, name string) (*model.Template, error)
- func (s *Storage) ReadTemplatesByIDs(ctx context.Context, ids []string) ([]*model.Template, error)
Constants ¶
View Source
const PackageName string = "storage"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) CreateTask ¶
func (*Storage) CreateTasks ¶
func (*Storage) CreateTemplate ¶
func (*Storage) CreateTemplates ¶
func (*Storage) ReadTaskByID ¶
func (*Storage) ReadTasksByIDs ¶ added in v0.0.3
func (*Storage) ReadTemplateByID ¶
func (*Storage) ReadTemplateByName ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.