memstore

package
v0.42.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: GPL-3.0 Imports: 11 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