Documentation
¶
Index ¶
- Constants
- Variables
- func Cached(inner model.Store, entries cache.Cache, opts CacheOptions) model.Store
- func Jobs(handle *gorm.DB, opts JobOptions) jobs.Queue
- func LazyJobs(resolve Resolver, opts JobOptions) jobs.Queue
- func LazyPermissions(resolve Resolver) auth.PermissionStore
- func LazySessions(resolve Resolver, sweep time.Duration) session.ManageableStore
- func LazyTokens(resolve Resolver) auth.TokenStore
- func LazyUsers(resolve Resolver) auth.Store
- func New(handle *gorm.DB) model.Store
- func Permissions(handle *gorm.DB) auth.PermissionStore
- func Sessions(handle *gorm.DB, sweep time.Duration) session.ManageableStore
- func Tokens(handle *gorm.DB) auth.TokenStore
- func Users(handle *gorm.DB) auth.Store
- type CacheOptions
- type JobOptions
- type Resolver
Constants ¶
View Source
const LabelSuffix = "__label"
Variables ¶
View Source
var ErrBadFilter = fmt.Errorf("coyote/repo: unusable filter")
View Source
var ErrNotFound = errors.New("coyote/repo: record not found")
Functions ¶
func LazyPermissions ¶
func LazyPermissions(resolve Resolver) auth.PermissionStore
func LazySessions ¶
func LazySessions(resolve Resolver, sweep time.Duration) session.ManageableStore
func LazyTokens ¶
func LazyTokens(resolve Resolver) auth.TokenStore
func Permissions ¶
func Permissions(handle *gorm.DB) auth.PermissionStore
Types ¶
type CacheOptions ¶
type JobOptions ¶
type JobOptions struct {
MaxAttempts int
}
Click to show internal directories.
Click to hide internal directories.