mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-05 14:37:45 +00:00
fix: imports
This commit is contained in:
parent
e6a4b7398c
commit
3100d4b48b
@ -1,7 +1,7 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
"github.com/caos/utils/api/grpc/server"
|
||||
"github.com/caos/zitadel/internal/api/grpc/server"
|
||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||
"strings"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
grpc_utils "github.com/caos/zitadel/internal/api/grpc"
|
||||
"github.com/caos/zitadel/internal/api/grpc/server/middleware"
|
||||
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
@ -31,9 +31,10 @@ func (s *Server) GRPCPort() string {
|
||||
|
||||
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
||||
gs := grpc.NewServer(
|
||||
middleware.TracingStatsServer("/Healthz", "/Ready", "/Validate"),
|
||||
grpc.UnaryInterceptor(
|
||||
grpc_middleware.ChainUnaryServer(
|
||||
grpc_utils.ErrorHandler(),
|
||||
middleware.ErrorHandler(),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
"github.com/caos/utils/api/grpc/server"
|
||||
"github.com/caos/zitadel/internal/api/grpc/server"
|
||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||
"strings"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
grpc_utils "github.com/caos/zitadel/internal/api/grpc"
|
||||
"github.com/caos/zitadel/internal/api/grpc/server/middleware"
|
||||
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
@ -31,9 +31,10 @@ func (s *Server) GRPCPort() string {
|
||||
|
||||
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
||||
gs := grpc.NewServer(
|
||||
middleware.TracingStatsServer("/Healthz", "/Ready", "/Validate"),
|
||||
grpc.UnaryInterceptor(
|
||||
grpc_middleware.ChainUnaryServer(
|
||||
grpc_utils.ErrorHandler(),
|
||||
middleware.ErrorHandler(),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
"github.com/caos/utils/api/grpc/server"
|
||||
"github.com/caos/zitadel/internal/api/grpc/server"
|
||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||
"strings"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
grpc_utils "github.com/caos/zitadel/internal/api/grpc"
|
||||
"github.com/caos/zitadel/internal/api/grpc/server/middleware"
|
||||
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
@ -31,9 +31,10 @@ func (s *Server) GRPCPort() string {
|
||||
|
||||
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
||||
gs := grpc.NewServer(
|
||||
middleware.TracingStatsServer("/Healthz", "/Ready", "/Validate"),
|
||||
grpc.UnaryInterceptor(
|
||||
grpc_middleware.ChainUnaryServer(
|
||||
grpc_utils.ErrorHandler(),
|
||||
middleware.ErrorHandler(),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user