(name, content, operator, serviceUID string, id uint, ctmin, ctmax int, revision uint)
| 26 | type task struct{} |
| 27 | |
| 28 | func (task) Get(name, content, operator, serviceUID string, id uint, ctmin, ctmax int, revision uint) []model.Task { |
| 29 | return db.GetTask(name, content, operator, serviceUID, id, ctmin, ctmax, revision) |
| 30 | } |
| 31 | |
| 32 | func (task) Add(tmplID uint, command int, content, operator, serviceUID, namespace string) error { |
| 33 | return worker.Feed(tmplID, command, content, operator, serviceUID, namespace, 1) |
no outgoing calls
no test coverage detected