expired_map

package
v0.0.0-...-4ea7438 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 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 ExpiredMap

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

func NewExpiredMap

func NewExpiredMap() *ExpiredMap

func (*ExpiredMap) Clear

func (e *ExpiredMap) Clear()

func (*ExpiredMap) Delete

func (e *ExpiredMap) Delete(key interface{})

func (*ExpiredMap) Get

func (e *ExpiredMap) Get(key interface{}) (found bool, value interface{})

func (*ExpiredMap) Length

func (e *ExpiredMap) Length() int

func (*ExpiredMap) Remove

func (e *ExpiredMap) Remove(key interface{})

func (*ExpiredMap) Set

func (e *ExpiredMap) Set(key, value interface{}, expireSeconds int64)

func (*ExpiredMap) Size

func (e *ExpiredMap) Size() int

func (*ExpiredMap) TTL

func (e *ExpiredMap) TTL(key interface{}) int64

Jump to

Keyboard shortcuts

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