// RegisterRESTModules Todo : Whenever any new modules will be in goarcc : it must be registered in below method
//Todo: Remove local host from here
RegisterRESTModules Todo : Whenever any new modules will be in goarcc : it must be registered in below method
Todo: Remove local host from here
// RegisterRESTModules Todo : Whenever any new modules will be in goarcc : it must be registered in below method // Todo : Remove local host from here
func RegisterRESTModules(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {
	if err := userProfilePb.RegisterUserProfilesHandler(ctx, mux, conn); err != nil {
		logger.Log.Fatal("failed to start HTTP gateway", zap.String("reason", err.Error()))
		return err
	}
	if err := authPb.RegisterAuthenticationsHandler(ctx, mux, conn); err != nil {
		logger.Log.Fatal("failed to start HTTP gateway", zap.String("reason", err.Error()))
		return err
	}
	return nil
}
func RegisterRESTModules ( ctx context . Context , mux * runtime . ServeMux , conn * grpc . ClientConn ) error { if err := userProfilePb . RegisterUserProfilesHandler ( ctx , mux , conn ) ; err != nil { logger . Log . Fatal ( " " , zap . String ( " " , err . Error ( ) ) ) return err } if err := authPb . RegisterAuthenticationsHandler ( ctx , mux , conn ) ; err != nil { logger . Log . Fatal ( " " , zap . String ( " " , err . Error ( ) ) ) return err } return nil }
RegisterRESTModules Todo : Whenever any new modules will be in goarcc : it must be registered in below method
Todo: Remove local host from here
RegisterRESTModules Todo : Whenever any new modules will be in goarcc : it must be registered in below method Todo : Remove local host from here
//opts := []grpc.DialOption{grpc.WithInsecure()}