memstore

package
v0.44.0-rc.11 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: GPL-3.0 Imports: 9 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 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