Documentation ¶
Index ¶
Constants ¶
View Source
const ( TaskNameApiCall = "apiCall" TaskNameApiResult = "apiResult" )
Variables ¶
This section is empty.
Functions ¶
func ConvHttpResponse ¶ added in v1.5.9
func NewApiCallTask ¶
Types ¶
type ApiCallProcessor ¶
type ApiCallProcessor struct {
// contains filtered or unexported fields
}
func NewApiCallProcessor ¶
func NewApiCallProcessor(router *gin.Engine, cli *asynq.Client) *ApiCallProcessor
func (*ApiCallProcessor) ProcessTask ¶
type ApiResultProcessor ¶
type ApiResultProcessor struct {
// contains filtered or unexported fields
}
func NewApiResultProcessor ¶
func NewApiResultProcessor(mgrDB sqlx.DBExecutor, kv *kvdb.RedisDB, tasks *confmq.Config) *ApiResultProcessor
func (*ApiResultProcessor) ProcessTask ¶
Click to show internal directories.
Click to hide internal directories.