package
5.0.2
Repository: https://github.com/go-micro/microwire.git
Documentation: pkg.go.dev

# Functions

Expiration sets the duration for items stored in the cache to expire.
Items initializes the cache with preconfigured items.
NewCache returns a new cache.
No description provided by the author
NewOptions returns a new options struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithAddress sets the cache service address or connection information.
WithContext sets the cache context, for any extra configuration.
WithLogger sets underline logger.

# Variables

DefaultCache is the default cache.
DefaultExpiration is the default duration for items stored in the cache to expire.
No description provided by the author
No description provided by the author
ErrItemExpired is returned in Cache.Get when the item found in the cache has expired.
ErrKeyNotFound is returned in Cache.Get and Cache.Delete when the provided key could not be found in cache.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
DiConfig is marker that DiFlags has been parsed into Config.
No description provided by the author
Item represents an item stored in the cache.
Options represents the options for the cache.

# Interfaces

Cache is the interface that wraps the cache.

# Type aliases

Option manipulates the Options passed.