Implement a resource handler for remote media
This prevents multiple downloads an other conflicts. This does mean that there may be a spike in traffic as all the parties requesting the media download it at the same time. Adds #22
Showing
- src/github.com/turt2live/matrix-media-repo/config/config.go 1 addition, 2 deletionssrc/github.com/turt2live/matrix-media-repo/config/config.go
- src/github.com/turt2live/matrix-media-repo/resource_handler/handler.go 88 additions, 0 deletions...m/turt2live/matrix-media-repo/resource_handler/handler.go
- src/github.com/turt2live/matrix-media-repo/services/media_service/media_service.go 2 additions, 8 deletions...matrix-media-repo/services/media_service/media_service.go
- src/github.com/turt2live/matrix-media-repo/services/media_service/resource_handler.go 81 additions, 0 deletions...rix-media-repo/services/media_service/resource_handler.go
Loading
Please register or sign in to comment