Documentation ¶
Overview ¶
A convenient way to run jobs from beanstalkd.
This package is still in flux.
import "beanstalk/worker" worker.Handle("resize", my_resizer) worker.Handle("sync", my_syncer) worker.DialAndWork("localhost:11300", nil)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialAndWork ¶
Open a connection to beanstalkd and run jobs. If w is nil, use DefaultTubeMux.
Types ¶
Click to show internal directories.
Click to hide internal directories.