expiration

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List interface {
	Insert(id interface{}, deadline time.Time)
	Delete(id interface{}, deadline time.Time) bool
	Update(id interface{}, old time.Time, new time.Time)
	Expire(now time.Time) []interface{}
	Reset()
}

func NewList

func NewList() List

Jump to

Keyboard shortcuts

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