mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-09 07:35:30 +00:00
feat: merge master
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package api
|
||||
|
||||
import "github.com/caos/zitadel/internal/api/grpc"
|
||||
|
||||
type Config struct {
|
||||
GRPC grpc.Config
|
||||
}
|
@@ -13,7 +13,7 @@ type Gateway struct {
|
||||
cutomHeaders []string
|
||||
}
|
||||
|
||||
func StartGateway(conf *grpc_util.GatewayConfig) *Gateway {
|
||||
func StartGateway(conf grpc_util.GatewayConfig) *Gateway {
|
||||
return &Gateway{
|
||||
grpcEndpoint: conf.GRPCEndpoint,
|
||||
port: conf.Port,
|
||||
|
@@ -20,7 +20,7 @@ type Server struct {
|
||||
searchLimit int
|
||||
}
|
||||
|
||||
func StartServer(conf *grpc_util.ServerConfig) *Server {
|
||||
func StartServer(conf grpc_util.ServerConfig) *Server {
|
||||
return &Server{
|
||||
port: conf.Port,
|
||||
}
|
||||
|
Reference in New Issue
Block a user