package created
This commit is contained in:
parent
353dcd6fe6
commit
71e2e1b7b1
5 changed files with 216 additions and 1 deletions
10
internal/processor/interface.go
Normal file
10
internal/processor/interface.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package processor
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type Processor interface {
|
||||
ProcessTasks(ctx context.Context) error
|
||||
SendResults(ctx context.Context, chanLen uint) error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue