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
Click to show internal directories.
Click to hide internal directories.