diff options
| author | 2025-08-19 00:14:30 +0700 | |
|---|---|---|
| committer | 2025-08-19 00:14:30 +0700 | |
| commit | 0b4bbb18087fe7e280a302f031e19852ef741a48 (patch) | |
| tree | 9e3fe40d0d17a022450b119f810f5405e9c51b90 /internal/client/output/output_client_interface.go | |
| parent | c9b2f8ca2239d64eaede7a0d755f038fe506bcca (diff) | |
| download | thumbnail-generator-0b4bbb18087fe7e280a302f031e19852ef741a48.tar.gz thumbnail-generator-0b4bbb18087fe7e280a302f031e19852ef741a48.zip | |
feat: allow multiple converters for processing
Diffstat (limited to 'internal/client/output/output_client_interface.go')
| -rw-r--r-- | internal/client/output/output_client_interface.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/client/output/output_client_interface.go b/internal/client/output/output_client_interface.go index 437895c..c74851d 100644 --- a/internal/client/output/output_client_interface.go +++ b/internal/client/output/output_client_interface.go @@ -10,7 +10,7 @@ import ( type OutputClient interface { GetWriter(path string, inputMetadata *input.MetadataStruct) (io.WriteCloser, error) - ReadMetadata(string) (*MetadataStruct, error) + ReadMetadata(path string) (*MetadataStruct, error) IsMissing(path string) bool } @@ -22,6 +22,7 @@ type MetadataStruct struct { ContentType string FirstCreated time.Time LastModified time.Time + Size int64 Misc map[string]string } |