slicingfile

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const SizePerChunk float64 = 5 * 1024 * 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type SlicingFile

type SlicingFile struct {
	File       *file.File
	TotalParts int64
	UploadId   string
	UploadUrl  []string
}

func New

func New(f *file.File) *SlicingFile

func (*SlicingFile) SetTotalParts

func (f *SlicingFile) SetTotalParts() *SlicingFile

func (*SlicingFile) SetUploadId

func (f *SlicingFile) SetUploadId(uploadId string) *SlicingFile

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL