import { Global, Module } from '@nestjs/common';
import { CosStorageProvider } from './cos-storage.provider';
import { LocalStorageProvider } from './local-storage.provider';
import { LocalStorageController } from './local-storage.controller';
import { StorageService } from './storage.service';

@Global()
@Module({
  providers: [CosStorageProvider, LocalStorageProvider, StorageService],
  controllers: [LocalStorageController],
  exports: [CosStorageProvider, LocalStorageProvider, StorageService],
})
export class StorageModule {}
