diff options
Diffstat (limited to 'export')
-rw-r--r-- | export/exporter.go | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/export/exporter.go b/export/exporter.go new file mode 100644 index 0000000..208fbd7 --- /dev/null +++ b/export/exporter.go @@ -0,0 +1,24 @@ +package export + +import "io" + +type Version struct { + Input + Output +} + +type Input struct { + Chunks io.WriteCloser + Recipe io.WriteCloser + Files io.WriteCloser +} + +type Output struct { + Chunks io.ReadCloser + Recipe io.ReadCloser + Files io.ReadCloser +} + +type Exporter interface { + ExportVersion() (input Input, end <-chan bool) +} |