ttlcache

package
v3.3.5+incompatible Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TTLSet

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

func New

func New(maxTTL int) *TTLSet

func (*TTLSet) Exist

func (m *TTLSet) Exist(k string) bool

func (*TTLSet) Initalize

func (m *TTLSet) Initalize()

func (*TTLSet) Put

func (m *TTLSet) Put(k string)

Jump to

Keyboard shortcuts

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