store

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	IntentModify(ctx context.Context, intentName string, data []byte) error
	IntentExists(ctx context.Context, intentName string) (bool, error)
	IntentsList(ctx context.Context) ([]string, error)
	IntentGet(ctx context.Context, intentName string) ([]byte, error)
	IntentGetAll(ctx context.Context, excludeIntentNames []string, intentChan chan<- *types.Intent, errChan chan<- error)
	IntentDelete(ctx context.Context, intentName string) error
	// Delete the Store. Implicitly closes store
	Delete() error
	// Close the Store
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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