MCPcopy Create free account
hub / github.com/techschool/simplebank / Start

Method Start

worker/processor.go:56–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56func (processor *RedisTaskProcessor) Start() error {
57 mux := asynq.NewServeMux()
58
59 mux.HandleFunc(TaskSendVerifyEmail, processor.ProcessTaskSendVerifyEmail)
60
61 return processor.server.Start(mux)
62}
63
64func (processor *RedisTaskProcessor) Shutdown() {
65 processor.server.Shutdown()

Callers 1

runTaskProcessorFunction · 0.95

Calls 1

StartMethod · 0.65

Tested by

no test coverage detected