expirator

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpirationHandler

type ExpirationHandler interface {
	Expire()
}

type Expirator

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

func NewExpirator

func NewExpirator(handler ExpirationHandler) *Expirator

func (*Expirator) Report

func (x *Expirator) Report(id uint64)

func (*Expirator) Shutdown

func (x *Expirator) Shutdown()

func (*Expirator) Track

func (x *Expirator) Track(id uint64, expire time.Time)

Jump to

Keyboard shortcuts

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