Make the config a singleton
Showing
- src/github.com/turt2live/matrix-media-repo/client/r0/download.go 2 additions, 2 deletions...hub.com/turt2live/matrix-media-repo/client/r0/download.go
- src/github.com/turt2live/matrix-media-repo/client/r0/identicon.go 2 additions, 1 deletion...ub.com/turt2live/matrix-media-repo/client/r0/identicon.go
- src/github.com/turt2live/matrix-media-repo/client/r0/preview_url.go 3 additions, 2 deletions....com/turt2live/matrix-media-repo/client/r0/preview_url.go
- src/github.com/turt2live/matrix-media-repo/client/r0/thumbnail.go 3 additions, 2 deletions...ub.com/turt2live/matrix-media-repo/client/r0/thumbnail.go
- src/github.com/turt2live/matrix-media-repo/client/r0/upload.go 1 addition, 1 deletion...ithub.com/turt2live/matrix-media-repo/client/r0/upload.go
- src/github.com/turt2live/matrix-media-repo/cmd/import_synapse/main.go 2 additions, 8 deletions...om/turt2live/matrix-media-repo/cmd/import_synapse/main.go
- src/github.com/turt2live/matrix-media-repo/cmd/media_repo/main.go 8 additions, 15 deletions...ub.com/turt2live/matrix-media-repo/cmd/media_repo/main.go
- src/github.com/turt2live/matrix-media-repo/config/config.go 21 additions, 4 deletionssrc/github.com/turt2live/matrix-media-repo/config/config.go
- src/github.com/turt2live/matrix-media-repo/rcontext/request_info.go 0 additions, 2 deletions....com/turt2live/matrix-media-repo/rcontext/request_info.go
- src/github.com/turt2live/matrix-media-repo/services/handlers/opengraph_previewer.go 5 additions, 5 deletions...atrix-media-repo/services/handlers/opengraph_previewer.go
- src/github.com/turt2live/matrix-media-repo/services/handlers/remote_media_downloader.go 2 additions, 1 deletion...x-media-repo/services/handlers/remote_media_downloader.go
- src/github.com/turt2live/matrix-media-repo/services/handlers/thumbnailer.go 1 addition, 1 deletion...t2live/matrix-media-repo/services/handlers/thumbnailer.go
- src/github.com/turt2live/matrix-media-repo/services/media_service.go 9 additions, 8 deletions...com/turt2live/matrix-media-repo/services/media_service.go
- src/github.com/turt2live/matrix-media-repo/services/thumbnail_service.go 5 additions, 4 deletions...turt2live/matrix-media-repo/services/thumbnail_service.go
- src/github.com/turt2live/matrix-media-repo/services/url_service.go 15 additions, 14 deletions...b.com/turt2live/matrix-media-repo/services/url_service.go
- src/github.com/turt2live/matrix-media-repo/storage/file_store.go 3 additions, 3 deletions...hub.com/turt2live/matrix-media-repo/storage/file_store.go
- src/github.com/turt2live/matrix-media-repo/synapse/local_media.go 5 additions, 5 deletions...ub.com/turt2live/matrix-media-repo/synapse/local_media.go
- src/github.com/turt2live/matrix-media-repo/util/config.go 5 additions, 5 deletionssrc/github.com/turt2live/matrix-media-repo/util/config.go
- src/github.com/turt2live/matrix-media-repo/util/errcodes/errorcodes.go 7 additions, 0 deletions...m/turt2live/matrix-media-repo/util/errcodes/errorcodes.go
- src/github.com/turt2live/matrix-media-repo/util/matrix.go 2 additions, 3 deletionssrc/github.com/turt2live/matrix-media-repo/util/matrix.go
Loading
Please register or sign in to comment