memory

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemoryStores

func NewMemoryStores(opts ...Option) store.StoreProvider

Types

type Option

type Option func(stores *memoryStores)

func WithDiscoverer

func WithDiscoverer(f func(ctx context.Context) ([]partition.ID, error)) Option

WithDiscoverer sets the discover func of memorystores

func WithStoreSize

func WithStoreSize(size int64) Option

WithStoreSize sets the store size

Jump to

Keyboard shortcuts

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