dbadapter

package
v0.0.0-...-3fe421b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	dbm.DB
}

Wrapper type for dbm.Db with implementation of KVStore

func (Store) CacheWrap

func (dsa Store) CacheWrap() types.CacheWrap

CacheWrap cache wraps the underlying store.

func (Store) CacheWrapWithTrace

func (dsa Store) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap

CacheWrapWithTrace implements KVStore.

func (Store) GetStoreType

func (Store) GetStoreType() types.StoreType

GetStoreType returns the type of the store.

Jump to

Keyboard shortcuts

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