package
0.0.0-20230101183712-202847b4b89b
Repository: https://github.com/corestoreio/csfw.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

MakeBinary creates a binary type for using in Set/Get functions when the code needs a `set` algorithm.
NewBlackHoleClient creates a black hole client for testing with the ability to return errors.
NewCacheSimpleInmemory creates an in-memory map map[string]string as cache backend which supports expiration.
NewLRU creates a new LRU Storage.
NewService creates a new cache service.

# Structs

LRUOptions allows to track the cache items either by object count or total size in bytes.
Service handles the encoding, decoding and caching.
ServiceOptions used when creating a NewService.

# Interfaces

Codecer defines the functions needed to create a new Encoder or Decoder.
Decoder defines how to decode a byte slice into variable dst.
Encoder defines how to Encode a type represented by variable src into a byte slice.
Storager defines a custom backend cache type to be used as underlying storage of the Service.

# Type aliases

No description provided by the author