expirable

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expirable

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

func NewExpirable

func NewExpirable(duration time.Duration, action func() interface{}) *Expirable

func (*Expirable) Do

func (e *Expirable) Do() interface{}

Jump to

Keyboard shortcuts

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