Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Value ¶
func Value(ctx context.Context, key interface{}) *loadingcache.Value
Value retrieves a *loadingcache.Value that's linked to a cache, if ctx was returned by With. If ctx didn't come from an earlier With call, there's no linked cache, so caching will be disabled by returning nil (which callers don't need to check, because nil is usable).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.