Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareUploadData ¶
func PrepareUploadData() error
Types ¶
type ExtractionPipeline ¶
type ExtractionPipeline struct { D Decompressor U Unarchiver C *FileCreator }
type FileCreator ¶
type FileCreator struct {
// contains filtered or unexported fields
}
func NewFileCreator ¶
func NewFileCreator(outDir string) (*FileCreator, error)
func (*FileCreator) CreateFile ¶
func (*FileCreator) Finalize ¶
func (c *FileCreator) Finalize() error
type TarUnarchiver ¶
type TarUnarchiver struct{}
func (*TarUnarchiver) Unarchive ¶
func (*TarUnarchiver) Unarchive(r io.Reader, c *FileCreator) error
type Unarchiver ¶
type Unarchiver interface {
Unarchive(io.Reader, *FileCreator) error
}
type WorldService ¶
type WorldService struct {
// contains filtered or unexported fields
}
func New ¶
func New(endpoint, authKey string) *WorldService
func (*WorldService) DownloadWorldData ¶
func (w *WorldService) DownloadWorldData(config *runner.Config) error
func (*WorldService) GetLatestKey ¶
func (*WorldService) UploadWorldData ¶
func (w *WorldService) UploadWorldData(config *runner.Config) (string, error)
type ZipUnarchiver ¶
type ZipUnarchiver struct{}
func (*ZipUnarchiver) Unarchive ¶
func (z *ZipUnarchiver) Unarchive(r io.Reader, c *FileCreator) error
Click to show internal directories.
Click to hide internal directories.