types

package
v0.0.0-...-4fa15db Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkInfo

type ChunkInfo struct {
	Idx       int           `json:"idx"`
	Size      int64         `json:"size"`
	ChunkSize int64         `json:"chunk_size"`
	Digest    string        `json:"digest"`
	In        io.ReadSeeker `json:"-"`
	Raw       any           `json:"raw"`
}

func (*ChunkInfo) MarshalBinary

func (ci *ChunkInfo) MarshalBinary() (data []byte, err error)

func (*ChunkInfo) UnmarshalBinary

func (ci *ChunkInfo) UnmarshalBinary(data []byte) error

Jump to

Keyboard shortcuts

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