add storage-gateway

This commit is contained in:
A.Unger
2021-03-04 14:54:27 +01:00
parent 30ed4233b2
commit cea043c2ac
2 changed files with 45 additions and 3 deletions
+2 -1
View File
@@ -44,7 +44,7 @@ var (
"settings", // done
"store", // done
"storage-metadata", // done
"storage-frontend",
"storage-frontend", // done
"storage-gateway",
"storage-userprovider",
"storage-groupprovider",
@@ -128,6 +128,7 @@ func (r *Runtime) Start() error {
addServiceToken("web", supervisor.Add(web.NewSutureService(globalCtx, r.c.Web)))
addServiceToken("webdav", supervisor.Add(webdav.NewSutureService(globalCtx, r.c.WebDAV)))
addServiceToken("frontend", supervisor.Add(storage.NewFrontend(globalCtx, r.c.Storage)))
addServiceToken("gateway", supervisor.Add(storage.NewGateway(globalCtx, r.c.Storage)))
// TODO(refs) debug line with supervised services.
go supervisor.ServeBackground()