summaryrefslogtreecommitdiff
path: root/worker/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/worker.go')
-rw-r--r--worker/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/worker.go b/worker/worker.go
index da7928e..c8ec622 100644
--- a/worker/worker.go
+++ b/worker/worker.go
@@ -9,7 +9,7 @@ import (
)
type Worker interface {
- GetMessage() types.WorkerMessage
+ GetMessages() chan types.WorkerMessage
PostAction(types.WorkerMessage)
Run()
}