Versions in this module Expand all Collapse all v0 v0.5.0 Jul 30, 2026 v0.4.0 Jul 30, 2026 Changes in this version + func NewContext(ctx context.Context) context.Context + type Context struct + func New() *Context + func (c *Context) Add(ctx context.Context, k entcache.Key, e *entcache.Entry, ttl time.Duration) error + func (c *Context) Del(ctx context.Context, k entcache.Key) error + func (c *Context) Get(ctx context.Context, k entcache.Key) (*entcache.Entry, error) + func (c *Context) LockOrWait(ctx context.Context, k entcache.Key) (bool, func(context.Context) (*entcache.Entry, error), func(context.Context), ...)