preferences

package
v2.16.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// SetKey sets a key under a specified namespace.
	SetKey(ctx context.Context, key, namespace, value string) error
	// GetKey returns the value for a combination of key and namespace, if set.
	GetKey(ctx context.Context, key, namespace string) (string, error)
}

Manager defines an interface for a preferences manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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