mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-09 00:56:37 +08:00
feat(contracts): provide SystemConfigService, UploadService and TaskService.GetExecutionByTaskID
This commit is contained in:
@@ -62,6 +62,7 @@ func (p *Plugin) Apply(ctx *core.Context) error {
|
||||
core.Bind[contracts.StorageService](ctx, shared.SetStorageService)
|
||||
core.Bind[contracts.TaskService](ctx, shared.SetTaskService)
|
||||
core.Bind[contracts.AuthService](ctx, shared.SetAuthService)
|
||||
core.Provide[contracts.UploadService](ctx, &uploadServiceImpl{})
|
||||
|
||||
ctx.OnDispose(func() error {
|
||||
shared.ResetServices()
|
||||
|
||||
Reference in New Issue
Block a user