From 2f57eb5ece9a5cb25b78284d01bd55b14d2e4580 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Sun, 2 Jan 2022 15:00:53 +0100 Subject: fiddle around with workers --- internal/media/process.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 internal/media/process.go (limited to 'internal/media/process.go') 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) -- cgit v1.2.3