memory

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func New

func New(ctx context.Context, ttl time.Duration) *Memory

func (*Memory) Dump

func (m *Memory) Dump(w io.Writer) error

func (*Memory) HasKey

func (m *Memory) HasKey(keys []string) bool

func (*Memory) Set

func (m *Memory) Set(keys []string, ts time.Time)

Jump to

Keyboard shortcuts

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