grpc server added
This commit is contained in:
parent
5e1017df69
commit
6867d2d74e
9 changed files with 294 additions and 28 deletions
8
internal/interfaces/task.go
Normal file
8
internal/interfaces/task.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package interfaces
|
||||
|
||||
import "merch-parser-api/internal/shared"
|
||||
|
||||
type TaskProvider interface {
|
||||
PrepareTasks() (map[string]shared.Task, error)
|
||||
InsertPrices([]shared.TaskResult) error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue