memory

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package memory stores trend data in an in-memory cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ttl time.Duration) (trend.Store, error)

New creates an in-memory store.

func Open

func Open(u *url.URL) (trend.Store, error)

Open opens an in-memory store. The optional ttl query sets entry lifetime.

Types

This section is empty.

Jump to

Keyboard shortcuts

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