mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:27:42 +00:00
fix: imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/caos/utils/api/grpc/server"
|
"github.com/caos/zitadel/internal/api/grpc/server"
|
||||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
import (
|
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"
|
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
)
|
)
|
||||||
@@ -31,9 +31,10 @@ func (s *Server) GRPCPort() string {
|
|||||||
|
|
||||||
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
||||||
gs := grpc.NewServer(
|
gs := grpc.NewServer(
|
||||||
|
middleware.TracingStatsServer("/Healthz", "/Ready", "/Validate"),
|
||||||
grpc.UnaryInterceptor(
|
grpc.UnaryInterceptor(
|
||||||
grpc_middleware.ChainUnaryServer(
|
grpc_middleware.ChainUnaryServer(
|
||||||
grpc_utils.ErrorHandler(),
|
middleware.ErrorHandler(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/caos/utils/api/grpc/server"
|
"github.com/caos/zitadel/internal/api/grpc/server"
|
||||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
import (
|
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"
|
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
)
|
)
|
||||||
@@ -31,9 +31,10 @@ func (s *Server) GRPCPort() string {
|
|||||||
|
|
||||||
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
||||||
gs := grpc.NewServer(
|
gs := grpc.NewServer(
|
||||||
|
middleware.TracingStatsServer("/Healthz", "/Ready", "/Validate"),
|
||||||
grpc.UnaryInterceptor(
|
grpc.UnaryInterceptor(
|
||||||
grpc_middleware.ChainUnaryServer(
|
grpc_middleware.ChainUnaryServer(
|
||||||
grpc_utils.ErrorHandler(),
|
middleware.ErrorHandler(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/caos/utils/api/grpc/server"
|
"github.com/caos/zitadel/internal/api/grpc/server"
|
||||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
import (
|
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"
|
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
)
|
)
|
||||||
@@ -31,9 +31,10 @@ func (s *Server) GRPCPort() string {
|
|||||||
|
|
||||||
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
func (s *Server) GRPCServer() (*grpc.Server, error) {
|
||||||
gs := grpc.NewServer(
|
gs := grpc.NewServer(
|
||||||
|
middleware.TracingStatsServer("/Healthz", "/Ready", "/Validate"),
|
||||||
grpc.UnaryInterceptor(
|
grpc.UnaryInterceptor(
|
||||||
grpc_middleware.ChainUnaryServer(
|
grpc_middleware.ChainUnaryServer(
|
||||||
grpc_utils.ErrorHandler(),
|
middleware.ErrorHandler(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user