Documentation ¶
Index ¶
- func NewSpiderAdminService(opts ...Option) (svc2 interfaces.SpiderAdminService, err error)
- func ProvideSpiderAdminService(path string, opts ...Option) func() (svc interfaces.SpiderAdminService, err error)
- type Option
- type Service
- func (svc *Service) Clone(id primitive.ObjectID, opts *interfaces.SpiderCloneOptions) (err error)
- func (svc *Service) Delete(id primitive.ObjectID) (err error)
- func (svc *Service) GetConfigPath() (path string)
- func (svc *Service) Schedule(id primitive.ObjectID, opts *interfaces.SpiderRunOptions) (err error)
- func (svc *Service) SetConfigPath(path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpiderAdminService ¶
func NewSpiderAdminService(opts ...Option) (svc2 interfaces.SpiderAdminService, err error)
func ProvideSpiderAdminService ¶
func ProvideSpiderAdminService(path string, opts ...Option) func() (svc interfaces.SpiderAdminService, err error)
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Clone ¶
func (svc *Service) Clone(id primitive.ObjectID, opts *interfaces.SpiderCloneOptions) (err error)
func (*Service) GetConfigPath ¶
func (*Service) Schedule ¶
func (svc *Service) Schedule(id primitive.ObjectID, opts *interfaces.SpiderRunOptions) (err error)
func (*Service) SetConfigPath ¶
Click to show internal directories.
Click to hide internal directories.