cache

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: AGPL-3.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DefaultMaxSize              = 100000
	DefaultPreLoadingAfterSize  = 200
	DefaultPreLoadingBeforeSize = 0
)

Variables

This section is empty.

Functions

func New

func New(client client.Client, options ...option) client.Client

func WithMaxSize

func WithMaxSize(maxSize int) option

func WithPreLoadingSize

func WithPreLoadingSize(preLoadingSize int) option

func WithPreemptiveAsyncLoadingEnabled

func WithPreemptiveAsyncLoadingEnabled(preemptiveAsyncLoadingEnabled bool) option

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL