statestore

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 NewTmpPebbleStateStore

func NewTmpPebbleStateStore() (*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