diff options
| author | 2025-07-15 12:43:28 +0700 | |
|---|---|---|
| committer | 2025-07-15 12:43:28 +0700 | |
| commit | 373ec07b40178cb3b704aa83fc4fd53abfe279bc (patch) | |
| tree | dcadacab21909195fbe660f105f060f4e6f686ce /internal/client/output/output_client_interface.go | |
| parent | 6fef5c8ea06b0b25542afc65b412c75aa3d879a2 (diff) | |
| download | thumbnail-generator-373ec07b40178cb3b704aa83fc4fd53abfe279bc.tar.gz thumbnail-generator-373ec07b40178cb3b704aa83fc4fd53abfe279bc.zip | |
feat: prepare all internal pkg (input/output client & processor)
Diffstat (limited to 'internal/client/output/output_client_interface.go')
| -rw-r--r-- | internal/client/output/output_client_interface.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/client/output/output_client_interface.go b/internal/client/output/output_client_interface.go new file mode 100644 index 0000000..5271e18 --- /dev/null +++ b/internal/client/output/output_client_interface.go @@ -0,0 +1,11 @@ +package output + +import ( + "io" +) + +type OutputClient interface { + GetWriter(path string) (io.Writer, error) + ReadMetadata(string) (map[string]string, error) + IsMissing(path string) (bool, error) +} |