1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 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(end chan<- bool) Input }