Spaces:
Configuration error
Configuration error
Download space/pkg/worker/distributor.go from lifedebugger/api-qobiltu-dev: direct link, hf CLI and curl.
- Browser
- Download file 481 Bytes
-
https://huggingface.co/spaces/lifedebugger/api-qobiltu-dev/resolve/main/space/pkg/worker/distributor.go
- Command line
-
hf download hf://spaces/lifedebugger/api-qobiltu-dev/space/pkg/worker/distributor.go
-
curl -L -o distributor.go https://huggingface.co/spaces/lifedebugger/api-qobiltu-dev/resolve/main/space/pkg/worker/distributor.go
481 Bytes
| package worker | |
| import ( | |
| "context" | |
| "github.com/hibiken/asynq" | |
| ) | |
| type TaskDistributor interface { | |
| DistributeTaskSendVerifyEmail( | |
| ctx context.Context, | |
| payload *PayloadSendVerifyEmail, | |
| opts ...asynq.Option, | |
| ) error | |
| DistributeTaskSendForgotPasswordEmail( | |
| ctx context.Context, | |
| payload *PayloadSendForgotPasswordEmail, | |
| opts ...asynq.Option, | |
| ) error | |
| } | |
| // AsyncTaskDistributor is a global variable to hold the task distributor | |
| var AsyncTaskDistributor TaskDistributor | |