Documentation
¶
Index ¶
- Constants
- Variables
- func Configure(options map[string]string)
- func Enqueue(queue string, message interface{}, delayTime time.Duration) (string, error)
- func GetGoroutineID() uint64
- func Process(queue string, delayFunc delayFunc, concurrency int, params ...Params)
- func Run()
- func Stats(w http.ResponseWriter, req *http.Request)
- func StatsServer(port int)
- type EnqueueData
- type Params
Constants ¶
View Source
const ( MaxCount = 10000 DefaultCount = 1 DefaultSleep = 1 * time.Second )
Variables ¶
View Source
var Config *config
Functions ¶
func StatsServer ¶
func StatsServer(port int)
Types ¶
type EnqueueData ¶
type EnqueueData struct { MsgId string `json:"msg_id"` Message interface{} `json:"message"` }
EnqueueData ...
Click to show internal directories.
Click to hide internal directories.