cachemulti

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 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, listeners map[types.StoreKey][]types.WriteListener,
	closer io.Closer,
) Store

Jump to

Keyboard shortcuts

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