foxcache

package
v0.0.0-...-1281de2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(db *bbolt.DB, bucket []byte, dataInterfaces []DataInterface) error

Types

type Data

type Data[T any] struct {
	Key      string
	CronSpec string
	Current  T
	Updated  time.Time
	// do not use. this gets fresh data. use Current
	Retrieve func() (T, error)
}

type DataInterface

type DataInterface interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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