package created
This commit is contained in:
parent
e249e23410
commit
ca36d84a03
4 changed files with 144 additions and 0 deletions
8
internal/taskAgent/interface.go
Normal file
8
internal/taskAgent/interface.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package taskAgent
|
||||
|
||||
import "context"
|
||||
|
||||
type TaskAgent interface {
|
||||
FetchTasks(ctx context.Context) ([]Task, error)
|
||||
SendResults(ctx context.Context, results []Result) error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue