mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-09 07:35:30 +00:00
fix: remove unnecessary functions from auth.proto
This commit is contained in:
@@ -16,13 +16,10 @@ type Config struct {
|
||||
GRPC grpc_util.Config
|
||||
}
|
||||
|
||||
func Start(ctx context.Context, conf Config) error {
|
||||
api := &API{
|
||||
grpcServer: *grpc.StartServer(conf.GRPC.ToServerConfig()),
|
||||
gateway: *grpc.StartGateway(conf.GRPC.ToGatewayConfig()),
|
||||
}
|
||||
server.StartServer(ctx, &api.grpcServer)
|
||||
server.StartGateway(ctx, &api.gateway)
|
||||
func Start(ctx context.Context, conf Config) {
|
||||
grpcServer := grpc.StartServer(conf.GRPC.ToServerConfig())
|
||||
grpcGateway := grpc.StartGateway(conf.GRPC.ToGatewayConfig())
|
||||
|
||||
return nil
|
||||
server.StartServer(ctx, grpcServer)
|
||||
server.StartGateway(ctx, grpcGateway)
|
||||
}
|
||||
|
Reference in New Issue
Block a user