store

package
v3.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WithSoftDeleted = store.WithSoftDeleted

WithSoftDeleted returns a context that tells the store to include (only) deleted entities.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// UserStore, LoginTokenStore and UserSessionStore are needed for user login/logout.
	store.UserStore
	store.LoginTokenStore
	store.UserSessionStore
}

Interface is the store used by the account app.

type TransactionalInterface added in v3.18.1

type TransactionalInterface interface {
	Interface

	// Transact runs a transaction using the store.
	Transact(context.Context, func(context.Context, Interface) error) error
}

TransactionalStore is Interface, but with a method that uses a transaction.

Jump to

Keyboard shortcuts

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