ageingcache

package
v3.0.0-rc30 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(sig string) error

Clear removes the current cached output

func Output

func Output(o fcache.Outputter, sig string, maxAge time.Duration) (out []byte, err error)

Output manage output session function cache

Types

type Outputter

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

func NewOutputter

func NewOutputter(f func() ([]byte, error)) *Outputter

func (*Outputter) Output

func (t *Outputter) Output() ([]byte, error)

Jump to

Keyboard shortcuts

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