cache

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache[T any] interface {
	CreateIfNotExists(path string) (driver.Connector, error)
	Insert(path string, data ...T) error
	Delete(path string, data ...T) error
	Get(path string) ([]T, error)
}

TODO: implement extendable storage drivers using cache interface (sqlite, duckdb, etc.)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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