refcounter

package
v0.0.0-...-f33e45f Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRefCounter

func NewRefCounter() *refCounter

Types

type RefCounter

type RefCounter interface {
	Inc(key interface{})
	Dec(key interface{})
	Above(count int) []interface{}
	Below(count int) []interface{}
}

Jump to

Keyboard shortcuts

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