count

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fresh

type Fresh struct {
	Serial    uint64
	Freshness timestamp.T
}

type Freshes

type Freshes []*Fresh

func (Freshes) Len

func (c Freshes) Len() int

func (Freshes) Less

func (c Freshes) Less(i, j int) bool

func (Freshes) Swap

func (c Freshes) Swap(i, j int)

type Item

type Item struct {
	Serial    uint64
	Size      uint32
	Freshness timestamp.T
}

type Items

type Items []*Item

func (Items) Len

func (c Items) Len() int

func (Items) Less

func (c Items) Less(i, j int) bool

func (Items) Swap

func (c Items) Swap(i, j int)

func (Items) Total

func (c Items) Total() (total int)

type ItemsBySerial

type ItemsBySerial []*Item

func (ItemsBySerial) Len

func (c ItemsBySerial) Len() int

func (ItemsBySerial) Less

func (c ItemsBySerial) Less(i, j int) bool

func (ItemsBySerial) Swap

func (c ItemsBySerial) Swap(i, j int)

func (ItemsBySerial) Total

func (c ItemsBySerial) Total() (total int)

Jump to

Keyboard shortcuts

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