cacheset

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: Apache-2.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 CacheSet

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

func New

func New(maxSize int) *CacheSet

func (*CacheSet) Add

func (set *CacheSet) Add(item interface{})

func (*CacheSet) Clear

func (set *CacheSet) Clear()

func (*CacheSet) Contains

func (set *CacheSet) Contains(item interface{}) bool

func (*CacheSet) Empty

func (set *CacheSet) Empty() bool

func (*CacheSet) Size

func (set *CacheSet) Size() int

func (*CacheSet) String

func (set *CacheSet) String() string

Jump to

Keyboard shortcuts

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