diff options
author | 2022-01-02 15:00:53 +0100 | |
---|---|---|
committer | 2022-01-02 15:00:53 +0100 | |
commit | 2f57eb5ece9a5cb25b78284d01bd55b14d2e4580 (patch) | |
tree | 93fc811b30ca74f8c28747f411c8fb800a98e0b5 /internal/media/process.go | |
parent | more refactoring, media handler => manager (diff) | |
download | gotosocial-2f57eb5ece9a5cb25b78284d01bd55b14d2e4580.tar.xz |
fiddle around with workers
Diffstat (limited to 'internal/media/process.go')
-rw-r--r-- | internal/media/process.go | 5 |
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) |