# README
Fangtooth
Fangtooth is a bootstrap for queue workers.
Installation
go get -u github.com/Kamva/fangtooth
# Functions
NewWorkerPool construct new instance worker pool.
# Structs
WorkerContext is base worker context.
WorkerPool is responsible for fetching jobs out from redis pool and dispatching them to workers.
# Interfaces
WorkerInterface is an interface for workers contexts.
# Type aliases
Configurator is a function that accept worker pool as parameter and change its configurable attributes.
JobHandlerMap is a map of job name and its handler function.
PeriodicMap is a map of cron tab value and job name to run in.