add storage and mux handle with handlers

This commit is contained in:
2023-08-09 14:31:23 +03:00
parent fb0ad62f0e
commit bbb9174d8a
22 changed files with 1996 additions and 194 deletions

View File

@@ -6,6 +6,8 @@ package go_generate
import (
context "context"
_ "go.unistack.org/micro-client-http/v3"
v3 "go.unistack.org/micro-server-http/v3"
client "go.unistack.org/micro/v3/client"
server "go.unistack.org/micro/v3/server"
go_generate "go.unistack.org/unistack-org/pkgdash/proto/go_generate"
@@ -74,5 +76,6 @@ func RegisterDashboardServiceServer(s server.Server, sh DashboardServiceServer,
}
h := &dashboardServiceServer{sh}
var nopts []server.HandlerOption
nopts = append(nopts, v3.HandlerEndpoints(DashboardServiceServerEndpoints))
return s.Handle(s.NewHandler(&DashboardService{h}, append(nopts, opts...)...))
}