Add backup management
This commit is contained in:
@@ -41,6 +41,7 @@ using Binance.Net.Interfaces.Clients;
|
||||
using Managing.Infrastructure.Evm.Services;
|
||||
using Managing.Application.Workflows;
|
||||
using Managing.Application.Bots.Base;
|
||||
using Managing.Application.ManageBot;
|
||||
|
||||
namespace Managing.Bootstrap;
|
||||
|
||||
@@ -105,6 +106,7 @@ public static class ApiBootstrap
|
||||
services.AddTransient<IUserRepository, UserRepository>();
|
||||
services.AddTransient<IStatisticRepository, StatisticRepository>();
|
||||
services.AddTransient<IWorkflowRepository, WorkflowRepository>();
|
||||
services.AddTransient<IBotRepository, BotRepository>();
|
||||
|
||||
// Cache
|
||||
services.AddDistributedMemoryCache();
|
||||
@@ -123,6 +125,7 @@ public static class ApiBootstrap
|
||||
services.AddTransient<IExchangeStream, ExchangeStream>();
|
||||
services.AddSingleton<IMessengerService, MessengerService>();
|
||||
services.AddSingleton<IDiscordService, DiscordService>();
|
||||
services.AddSingleton<IBotService, BotService>();
|
||||
|
||||
// Stream
|
||||
services.AddSingleton<IBinanceSocketClient, BinanceSocketClient>();
|
||||
|
||||
Reference in New Issue
Block a user