state

package
v0.0.0-...-78dab50 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheState

type CacheState struct {
	Hash         string
	Capacity     int64
	Filled       int64
	PiecesLength int64
	PiecesCount  int
	Torrent      *state.TorrentStatus
	Pieces       map[int]ItemState
	Readers      []*ReaderState
}

type ItemState

type ItemState struct {
	Id        int
	Length    int64
	Size      int64
	Completed bool
	Priority  int
}

type ReaderState

type ReaderState struct {
	Start  int
	End    int
	Reader int
}

Jump to

Keyboard shortcuts

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