demo

package module
v0.0.0-...-85d476c Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//
	Hel = demo1.Hello
)

Functions

func NewCache

func NewCache() *cache

func NewCacheWithGcInterval

func NewCacheWithGcInterval(gcInterval time.Duration) *cache

Types

type Item

type Item struct {
	Object interface{}
	Expire *time.Time
}

func (*Item) Expired

func (item *Item) Expired() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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