erasure

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileHeader = "\x89PNGA\r\n\x1a\n" // 自定义文件头
	Version    = 1                    // 版本控制
)

Variables

This section is empty.

Functions

func Abcs

func Abcs()

func New

func New(path string, parityShards int) error

Types

type FileInfo

type FileInfo struct {
	SubFileInfo []SubFileInfo
	// contains filtered or unexported fields
}

FileInfo 描述一个文件

func ReadFile

func ReadFile(filename string) (*FileInfo, error)

type SubFileInfo

type SubFileInfo struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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