cache

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheAllocator

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

func New

func New() *CacheAllocator

func NewCacheAllocator

func NewCacheAllocator() *CacheAllocator

func (*CacheAllocator) Add

func (c *CacheAllocator) Add(t interface{}) (err error)

func (*CacheAllocator) Check

func (c *CacheAllocator) Check(t interface{}) bool

func (*CacheAllocator) Delete

func (c *CacheAllocator) Delete(t string, name string) (err error)

func (*CacheAllocator) Get

func (c *CacheAllocator) Get(t string, name string) (i interface{}, err error)

func (*CacheAllocator) Usage

func (c *CacheAllocator) Usage(t string)

Jump to

Keyboard shortcuts

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