Documentation ¶
Index ¶
- type Service
- func (s *Service) CreateTask(ctx *rest.Contexts)
- func (s *Service) DetailTask(ctx *rest.Contexts)
- func (s *Service) Healthz(req *restful.Request, resp *restful.Response)
- func (s *Service) ListTask(ctx *rest.Contexts)
- func (s *Service) NewQueue(taskMap map[string]TaskInfo) *TaskQueue
- func (s *Service) StatusToFailure(ctx *rest.Contexts)
- func (s *Service) StatusToSuccess(ctx *rest.Contexts)
- func (s *Service) WebService() *restful.Container
- type TaskInfo
- type TaskQueue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { *options.Config *backbone.Engine CacheDB *redis.Client DB dal.RDB // contains filtered or unexported fields }
func (*Service) CreateTask ¶
func (*Service) DetailTask ¶
func (*Service) StatusToFailure ¶
func (*Service) StatusToSuccess ¶
func (*Service) WebService ¶
func (s *Service) WebService() *restful.Container
Click to show internal directories.
Click to hide internal directories.