Documentation
¶
Overview ¶
Package ingestcache a cache that is used to cache the results of ingesting data. The intent is to reduce the number of calls to external services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBuildingCacheKey = errors.New("error building cache key")
ErrBuildingCacheKey is the error returned when building a cache key fails
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Get(ingester engif.Ingester, entity protoreflect.ProtoMessage, params map[string]any) (*engif.Result, bool) Set(ingester engif.Ingester, entity protoreflect.ProtoMessage, params map[string]any, result *engif.Result) }
Cache is the interface for the ingest cache.
Click to show internal directories.
Click to hide internal directories.