update accounts, settings, storage-metadata and ocis-pkg to use asim go-micro v3

This commit is contained in:
A.Unger
2021-02-18 08:00:02 +00:00
committed by Jörn Friedrich Dreyer
parent 83851ca2bb
commit 005f47d436
24 changed files with 501 additions and 108 deletions
+2 -4
View File
@@ -1,6 +1,7 @@
package http
import (
"github.com/asim/go-micro/v3"
"github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/service/http"
"github.com/owncloud/ocis/onlyoffice/pkg/assets"
@@ -55,10 +56,7 @@ func Server(opts ...Option) (http.Service, error) {
handle = svc.NewTracing(handle)
}
service.Handle(
"/",
handle,
)
micro.RegisterHandler(service.Server(), handle)
service.Init()
return service, nil