v1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 0 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 struct {
	KeysFound []string
	Results   interface{}
}

Cache hosts results from SQL methods

func NewCacheFactory

func NewCacheFactory() Cache

NewCacheFactory for creating a new Cache

func (*Cache) AddKey

func (c *Cache) AddKey(k string)

AddKey for appending a new Key to cache

func (*Cache) Clear

func (c *Cache) Clear()

Clear for clearing the cache

func (*Cache) GetKeys

func (c *Cache) GetKeys() []string

GetKeys returns Cache.KeysFound

Jump to

Keyboard shortcuts

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