SYMBOL INDEX (102 symbols across 12 files) FILE: cache.go type Cache (line 6) | type Cache interface type NoCache (line 16) | type NoCache struct method Get (line 19) | func (c *NoCache[K, V]) Get(context.Context, K) (Thunk[V], bool) { retur... method Set (line 22) | func (c *NoCache[K, V]) Set(context.Context, K, Thunk[V]) { return } method Delete (line 25) | func (c *NoCache[K, V]) Delete(context.Context, K) bool { return false } method Clear (line 28) | func (c *NoCache[K, V]) Clear() { return } FILE: dataloader.go type Interface (line 24) | type Interface interface type BatchFunc (line 41) | type BatchFunc type Result (line 45) | type Result struct type ResultMany (line 53) | type ResultMany struct type PanicErrorWrapper (line 61) | type PanicErrorWrapper struct method Error (line 65) | func (p *PanicErrorWrapper) Error() string { type SkipCacheError (line 71) | type SkipCacheError struct method Error (line 75) | func (s *SkipCacheError) Error() string { method Unwrap (line 79) | func (s *SkipCacheError) Unwrap() error { function NewSkipCacheError (line 83) | func NewSkipCacheError(err error) *SkipCacheError { type Loader (line 88) | type Loader struct type Thunk (line 132) | type Thunk type ThunkMany (line 135) | type ThunkMany type batchRequest (line 138) | type batchRequest struct type Option (line 145) | type Option function WithCache (line 148) | func WithCache[K comparable, V any](c Cache[K, V]) Option[K, V] { function WithBatchCapacity (line 155) | func WithBatchCapacity[K comparable, V any](c int) Option[K, V] { function WithInputCapacity (line 162) | func WithInputCapacity[K comparable, V any](c int) Option[K, V] { function WithWait (line 170) | func WithWait[K comparable, V any](d time.Duration) Option[K, V] { function WithClearCacheOnBatch (line 178) | func WithClearCacheOnBatch[K comparable, V any]() Option[K, V] { function withSilentLogger (line 187) | func withSilentLogger[K comparable, V any]() Option[K, V] { function WithTracer (line 194) | func WithTracer[K comparable, V any](tracer Tracer[K, V]) Option[K, V] { function NewBatchedLoader (line 201) | func NewBatchedLoader[K comparable, V any](batchFn BatchFunc[K, V], opts... method Load (line 228) | func (l *Loader[K, V]) Load(originalContext context.Context, key K) Thun... method flush (line 305) | func (l *Loader[K, V]) flush() { method Flush (line 316) | func (l *Loader[K, V]) Flush() { method LoadMany (line 326) | func (l *Loader[K, V]) LoadMany(originalContext context.Context, keys []... method Clear (line 379) | func (l *Loader[K, V]) Clear(ctx context.Context, key K) Interface[K, V] { method ClearAll (line 388) | func (l *Loader[K, V]) ClearAll() Interface[K, V] { method Prime (line 397) | func (l *Loader[K, V]) Prime(ctx context.Context, key K, value V) Interf... method reset (line 407) | func (l *Loader[K, V]) reset() { type batcher (line 416) | type batcher struct method newBatcher (line 426) | func (l *Loader[K, V]) newBatcher(silent bool, tracer Tracer[K, V]) *bat... method end (line 436) | func (b *batcher[K, V]) end() { method batch (line 444) | func (b *batcher[K, V]) batch(originalContext context.Context) { method sleeper (line 519) | func (l *Loader[K, V]) sleeper(b *batcher[K, V], close chan bool) { FILE: dataloader_test.go function TestLoader (line 18) | func TestLoader(t *testing.T) { function IDLoader (line 629) | func IDLoader[K comparable](max int, options ...Option[K, K]) (*Loader[K... function BatchOnlyLoader (line 644) | func BatchOnlyLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function ErrorLoader (line 659) | func ErrorLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function OneErrorLoader (line 674) | func OneErrorLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function PanicLoader (line 693) | func PanicLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function PanicCacheLoader (line 701) | func PanicCacheLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function ErrorCacheLoader (line 722) | func ErrorCacheLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function SkipCacheErrorLoader (line 747) | func SkipCacheErrorLoader[K comparable](max int, onceErrorKey K) (*Loade... function BadLoader (line 771) | func BadLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function NoCacheLoader (line 785) | func NoCacheLoader[K comparable](max int) (*Loader[K, K], *[][]K) { function FaultyLoader (line 803) | func FaultyLoader[K comparable]() (*Loader[K, K], *[][]K) { type TracerWithThunkReading (line 827) | type TracerWithThunkReading struct method TraceLoad (line 831) | func (_ *TracerWithThunkReading[K, V]) TraceLoad(ctx context.Context, ke... method TraceLoadMany (line 837) | func (_ *TracerWithThunkReading[K, V]) TraceLoadMany(ctx context.Context... method TraceBatch (line 843) | func (_ *TracerWithThunkReading[K, V]) TraceBatch(ctx context.Context, k... function batchIdentity (line 854) | func batchIdentity[K comparable](_ context.Context, keys []K) (results [... function BenchmarkLoader (line 864) | func BenchmarkLoader(b *testing.B) { type Avg (line 873) | type Avg struct method Add (line 879) | func (a *Avg) Add(v int) { method Avg (line 886) | func (a *Avg) Avg() float64 { FILE: example/lru_cache/golang_lru_test.go type cache (line 14) | type cache struct method Get (line 19) | func (c *cache[K, V]) Get(_ context.Context, key K) (dataloader.Thunk[V]... method Set (line 28) | func (c *cache[K, V]) Set(_ context.Context, key K, value dataloader.Thu... method Delete (line 33) | func (c *cache[K, V]) Delete(_ context.Context, key K) bool { method Clear (line 42) | func (c *cache[K, V]) Clear() { function ExampleGolangLRU (line 46) | func ExampleGolangLRU() { FILE: example/no_cache/no_cache_test.go function ExampleNoCache (line 10) | func ExampleNoCache() { FILE: example/ttl_cache/go_cache_test.go type Cache (line 15) | type Cache struct method Get (line 20) | func (c *Cache[K, V]) Get(_ context.Context, key K) (dataloader.Thunk[V]... method Set (line 30) | func (c *Cache[K, V]) Set(_ context.Context, key K, value dataloader.Thu... method Delete (line 36) | func (c *Cache[K, V]) Delete(_ context.Context, key K) bool { method Clear (line 46) | func (c *Cache[K, V]) Clear() { function ExampleTTLCache (line 50) | func ExampleTTLCache() { FILE: in_memory_cache.go type InMemoryCache (line 13) | type InMemoryCache struct function NewCache (line 19) | func NewCache[K comparable, V any]() *InMemoryCache[K, V] { method Set (line 27) | func (c *InMemoryCache[K, V]) Set(_ context.Context, key K, value Thunk[... method Get (line 35) | func (c *InMemoryCache[K, V]) Get(_ context.Context, key K) (Thunk[V], b... method Delete (line 48) | func (c *InMemoryCache[K, V]) Delete(ctx context.Context, key K) bool { method Clear (line 59) | func (c *InMemoryCache[K, V]) Clear() { FILE: trace.go type TraceLoadFinishFunc (line 7) | type TraceLoadFinishFunc type TraceLoadManyFinishFunc (line 8) | type TraceLoadManyFinishFunc type TraceBatchFinishFunc (line 9) | type TraceBatchFinishFunc type Tracer (line 12) | type Tracer interface type NoopTracer (line 22) | type NoopTracer struct method TraceLoad (line 25) | func (NoopTracer[K, V]) TraceLoad(ctx context.Context, key K) (context.C... method TraceLoadMany (line 30) | func (NoopTracer[K, V]) TraceLoadMany(ctx context.Context, keys []K) (co... method TraceBatch (line 35) | func (NoopTracer[K, V]) TraceBatch(ctx context.Context, keys []K) (conte... FILE: trace/opentracing/trace.go type Tracer (line 13) | type Tracer struct method TraceLoad (line 16) | func (Tracer[K, V]) TraceLoad(ctx context.Context, key K) (context.Conte... method TraceLoadMany (line 27) | func (Tracer[K, V]) TraceLoadMany(ctx context.Context, keys []K) (contex... method TraceBatch (line 38) | func (Tracer[K, V]) TraceBatch(ctx context.Context, keys []K) (context.C... FILE: trace/opentracing/trace_test.go function TestInterfaceImplementation (line 10) | func TestInterfaceImplementation(t *testing.T) { FILE: trace/otel/trace.go type Tracer (line 15) | type Tracer struct function NewTracer (line 19) | func NewTracer[K comparable, V any](tr trace.Tracer) *Tracer[K, V] { method Tracer (line 23) | func (t *Tracer[K, V]) Tracer() trace.Tracer { method TraceLoad (line 31) | func (t Tracer[K, V]) TraceLoad(ctx context.Context, key K) (context.Con... method TraceLoadMany (line 42) | func (t Tracer[K, V]) TraceLoadMany(ctx context.Context, keys []K) (cont... method TraceBatch (line 53) | func (t Tracer[K, V]) TraceBatch(ctx context.Context, keys []K) (context... FILE: trace/otel/trace_test.go function TestInterfaceImplementation (line 10) | func TestInterfaceImplementation(t *testing.T) {