util

package
v0.0.0-...-0b30333 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Foreach

func Foreach(r *ring.Ring, f func(e *Entry2))

func FreeRingWithEntries

func FreeRingWithEntries(r *ring.Ring)

func ListHead

func ListHead() *ring.Ring

Types

type Entry2

type Entry2 struct {
	kvi.Entry
	// contains filtered or unexported fields
}

func (*Entry2) Free

func (e *Entry2) Free()

func (*Entry2) Grab

func (e *Entry2) Grab() *Entry2

func (*Entry2) ListElem

func (e *Entry2) ListElem() (r *ring.Ring)

func (*Entry2) Set

func (e *Entry2) Set(oe *kvi.Entry) *Entry2

func (*Entry2) SetKey

func (e *Entry2) SetKey(key []byte) *Entry2

type Entry2Pool

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

func (*Entry2Pool) Alloc

func (p *Entry2Pool) Alloc() (e *Entry2)

Jump to

Keyboard shortcuts

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