package rename
This commit is contained in:
parent
feb7d770e6
commit
4ec69fcc08
5 changed files with 7 additions and 7 deletions
12
internal/remote/interface.go
Normal file
12
internal/remote/interface.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package remote
|
||||
|
||||
import (
|
||||
"context"
|
||||
"task-processor/internal/shared"
|
||||
pb "task-processor/proto/taskProcessor"
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
RequestTasks(ctx context.Context, client pb.TaskProcessorClient) []shared.TaskResponse
|
||||
SendResult(client pb.TaskProcessorClient, tasksDone []shared.TaskResult)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue