async media: add ability to upload media asynchronously

Requires a homeserver with MSC2246 support
This commit is contained in:
Sumner Evans
2022-04-25 21:29:35 -06:00
parent c5f58afe71
commit a695b045c8
6 changed files with 36 additions and 25 deletions

10
go.mod
View File

@@ -6,6 +6,7 @@ require (
github.com/alecthomas/kong v0.5.0
github.com/bwmarrin/discordgo v0.23.2
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.5.0
github.com/lib/pq v1.10.4
github.com/lopezator/migrator v0.3.0
@@ -13,19 +14,18 @@ require (
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
gopkg.in/yaml.v2 v2.4.0
maunium.net/go/maulogger/v2 v2.3.2
maunium.net/go/mautrix v0.10.12
maunium.net/go/mautrix v0.10.13-0.20220417095934-0eee489b6417
)
require (
github.com/gorilla/mux v1.8.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/tidwall/gjson v1.14.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tidwall/sjson v1.2.4 // indirect
golang.org/x/crypto v0.0.0-20220331220935-ae2d96664a29 // indirect
golang.org/x/net v0.0.0-20220403103023-749bd193bc2b // indirect
github.com/yuin/goldmark v1.4.11 // indirect
golang.org/x/crypto v0.0.0-20220408190544-5352b0902921 // indirect
golang.org/x/net v0.0.0-20220407224826-aac1ed45d8e3 // indirect
golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12 // indirect
)