memory

package
v0.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemoryStores added in v0.6.4

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

Types

type Option added in v0.6.4

type Option func(stores *memoryStores)

func WithDiscoverer added in v0.6.4

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

WithDiscoverer sets the discover func of memorystores

func WithStoreSize added in v0.6.4

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