memory

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemManager

func NewMemManager(opts ...Option) wal.Manager

Types

type Option

type Option func(stores *memManager)

func WithDiscoverer

func WithDiscoverer(f func(ctx context.Context) ([]wal.WAL, error)) Option

WithDiscoverer sets the discover func of memory WAL manager

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