cachemulti

package
v0.0.0-...-547a3fa Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoopCloser io.Closer = CloserFunc(func() error { return nil })

Functions

This section is empty.

Types

type CloserFunc

type CloserFunc func() error

func (CloserFunc) Close

func (fn CloserFunc) Close() error

type Store

type Store struct {
	cachemulti.Store
	io.Closer
}

Store wraps sdk's cachemulti.Store to add io.Closer interface

func NewStore

func NewStore(
	db dbm.DB, stores map[types.StoreKey]types.CacheWrapper, keys map[string]types.StoreKey,
	traceWriter io.Writer, traceContext types.TraceContext,
	closer io.Closer,
) Store

Jump to

Keyboard shortcuts

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