Help us shape the future of Go! Take the 2026 Go Developer Survey

settings

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLPreferenceStore

type SQLPreferenceStore struct {
	// contains filtered or unexported fields
}

func NewSQLPreferenceStore

func NewSQLPreferenceStore(backend *db.Backend) (*SQLPreferenceStore, error)

func NewSQLPreferenceStoreWithPrefix

func NewSQLPreferenceStoreWithPrefix(backend *db.Backend, prefix string) (*SQLPreferenceStore, error)

func (*SQLPreferenceStore) GetPreference

func (s *SQLPreferenceStore) GetPreference(ctx context.Context, userID, key string) (interface{}, error)

func (*SQLPreferenceStore) SetPreference

func (s *SQLPreferenceStore) SetPreference(ctx context.Context, userID, key string, value interface{}) error

Jump to

Keyboard shortcuts

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