Documentation ¶
Index ¶
- func GetTaskSchedulerService(path string, opts ...Option) (svr interfaces.TaskSchedulerService, err error)
- func NewTaskSchedulerService(opts ...Option) (svc2 interfaces.TaskSchedulerService, err error)
- func ProvideGetTaskSchedulerService(path string, opts ...Option) func() (svr interfaces.TaskSchedulerService, err error)
- func ProvideTaskSchedulerService(path string, opts ...Option) func() (svc interfaces.TaskSchedulerService, err error)
- type Option
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTaskSchedulerService ¶
func GetTaskSchedulerService(path string, opts ...Option) (svr interfaces.TaskSchedulerService, err error)
func NewTaskSchedulerService ¶
func NewTaskSchedulerService(opts ...Option) (svc2 interfaces.TaskSchedulerService, err error)
func ProvideGetTaskSchedulerService ¶
func ProvideGetTaskSchedulerService(path string, opts ...Option) func() (svr interfaces.TaskSchedulerService, err error)
func ProvideTaskSchedulerService ¶
func ProvideTaskSchedulerService(path string, opts ...Option) func() (svc interfaces.TaskSchedulerService, err error)
Types ¶
type Option ¶
type Option func(svc interfaces.TaskSchedulerService)
func WithConfigPath ¶
func WithInterval ¶
type Service ¶
type Service struct { // dependencies interfaces.TaskBaseService // contains filtered or unexported fields }
func (*Service) Enqueue ¶
func (svc *Service) Enqueue(t interfaces.Task) (t2 interfaces.Task, err error)
func (*Service) SetInterval ¶
Click to show internal directories.
Click to hide internal directories.