summaryrefslogtreecommitdiff
path: root/internal/media/process.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-02 15:00:53 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-02 15:00:53 +0100
commit2f57eb5ece9a5cb25b78284d01bd55b14d2e4580 (patch)
tree93fc811b30ca74f8c28747f411c8fb800a98e0b5 /internal/media/process.go
parentmore refactoring, media handler => manager (diff)
downloadgotosocial-2f57eb5ece9a5cb25b78284d01bd55b14d2e4580.tar.xz
fiddle around with workers
Diffstat (limited to 'internal/media/process.go')
-rw-r--r--internal/media/process.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/media/process.go b/internal/media/process.go
new file mode 100644
index 000000000..e921be6bc
--- /dev/null
+++ b/internal/media/process.go
@@ -0,0 +1,5 @@
+package media
+
+import "context"
+
+type mediaProcessingFunction func(ctx context.Context, data []byte, contentType string, accountID string)