keydb

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CACHE_HASH = "CACHE_HASH"

Functions

func ExitCache

func ExitCache()

Types

type Adapter

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

func InitCache

func InitCache(uri string) *Adapter

func (Adapter) FetchData

func (a Adapter) FetchData(ctx context.Context, query interface{}) ([]*model.MetaBackend, error)

func (Adapter) StoreData

func (a Adapter) StoreData(ctx context.Context, result []*model.MetaBackend, query interface{}) error

Jump to

Keyboard shortcuts

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