count

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type B

type B = []byte

type E

type E = error

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)

type N added in v0.0.14

type N = int

type S

type S = string

Jump to

Keyboard shortcuts

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