memstore

package
v0.38.9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package memstore implements a memory-backed common.Storage for testing purposes.

Index

Constants

View Source
const Type = "memstore"

Variables

This section is empty.

Functions

func New

func New(opts ...Option) common.Storage

Types

type Option

type Option func(*cfg)

func WithLogger

func WithLogger(l *logger.Logger) Option

func WithReadOnly

func WithReadOnly(ro bool) Option

func WithRootPath

func WithRootPath(p string) Option

Jump to

Keyboard shortcuts

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