Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func RegisterTask ¶
Types ¶
type IExecuteTask ¶
func GetSayHelloExecutor ¶
func GetSayHelloExecutor(c *asynq.Client) IExecuteTask[*SayHelloPayload]
type SayHelloExecutor ¶
type SayHelloExecutor struct {
// contains filtered or unexported fields
}
func (*SayHelloExecutor) ExecuteTask ¶
func (s *SayHelloExecutor) ExecuteTask(pl *SayHelloPayload) error
type SayHelloPayload ¶
type SayHelloPayload struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.