Discover Packages
github.com/viant/datly
runtime
handler
provider
cache
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package cache adapts explicitly named caches to native Bindly injection.
NewMemory creates the built-in backend for explicit composition without
exposing its internal implementation type to applications. Zero capacity
means unlimited entries. Register it with New under an explicit name.
Providers binds a supplied cache provider under kind=cache. Nil contributes
no capability, so a required handler binding fails normally.
Registry borrows named caches supplied by its owner. It creates and closes none.
New snapshots the explicit registration map. Empty names and nil backends
are invalid, including typed nil implementations.
Cache returns only an exact registered name.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.