model

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CONFIG_NAME = "files.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkedFileInfo

type ChunkedFileInfo struct {
	FileName string `json:"file_name"`
	Md5      string `json:"md5"`
	Size     int64  `json:"size"`
	Offset   int64  `json:"offset"`
}

type FileConfig

type FileConfig struct {
	RawFile         RawFileInfo       `json:"raw_file"`
	ChunkedFileList []ChunkedFileInfo `json:"chunked_file_list"`
	EndPoint        []string          `json:"end_point"`
}

type RawFileInfo

type RawFileInfo struct {
	FileName string `json:"file_name"`
	Size     int64  `json:"size"`
}

Jump to

Keyboard shortcuts

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