statestore

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTmpPebbleStateStore

func NewTmpPebbleStateStore() (api.StateStore, error)

Types

type PebbleStateStore

type PebbleStateStore struct {
	api.StateStore
	// contains filtered or unexported fields
}

func NewPebbleStateStore

func NewPebbleStateStore(config *PebbleStateStoreConfig, logger *slog.Logger) (*PebbleStateStore, error)

func (*PebbleStateStore) Close

func (s *PebbleStateStore) Close() error

func (*PebbleStateStore) GetState

func (s *PebbleStateStore) GetState(key string) ([]byte, error)

func (*PebbleStateStore) PutState

func (s *PebbleStateStore) PutState(key string, value []byte) error

type PebbleStateStoreConfig

type PebbleStateStoreConfig struct {
	DirName string
}

Jump to

Keyboard shortcuts

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