item

package
v0.0.0-...-1a8195b Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Key      string
	Expire   time.Time
	Data     []byte
	DataLink interface{}
}

Item - data storage structure

func (Item) IsExpire

func (i Item) IsExpire() bool

IsExpire check expire cache, return true if the time of cache is expired

Jump to

Keyboard shortcuts

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