From fd71c7ce67ac39b4746fa88b592ef9f1d35ede3c Mon Sep 17 00:00:00 2001 From: Mayur Das Date: Mon, 25 Dec 2017 13:47:45 +0530 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0957ab6..77280de 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ go get github.com/mayur-tolexo/sworker/worker # Handler ``` -handler is a function to which the worker will call. it is a function like: +handler is a function to which the worker will call. + +FUNCTION DEFINATION: func(value ...interface{}) error Here PrintAll is a handler function. Define your own handler and pass it in the jobpool and you are ready to go.