freezer

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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 Freezer

type Freezer interface {
	Available(itemId string) bool
	Freeze(itemId string, duration time.Duration) error
	Unfreeze(itemId string) error
}

func New

func New() Freezer

Jump to

Keyboard shortcuts

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