Cache

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DelegateCache

type DelegateCache interface {
	Store(string, interface{})
	FindByName(string) interface{}
	FindByValue(reflect.Value) interface{}
	FindByType(reflect.Type) interface{}
}

func NewDelegateCache

func NewDelegateCache() DelegateCache

type ObjectCache

type ObjectCache interface {
	Store(interface{})
	FindByName(string) interface{}
	FindByValue(reflect.Value) interface{}
	FindByType(reflect.Type) interface{}
}

func NewObjectCache

func NewObjectCache() ObjectCache

Jump to

Keyboard shortcuts

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