database

package
v0.3.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ApplicationEntityType = iota
	ApplicationUserMetadataEntityType
	AuditLogEntityType
	CredentialEntityType
	FileEntityType
	GroupRoleEntityType
	GroupEntityType
	OutboxMessageEntityType
	PasswordRuleEntityType
	ProjectEntityType
	ResourceServerEntityType
	ResourceServerScopeEntityType
	RoleEntityType
	SessionEntityType
	TemplateEntityType
	UserRoleAssignmentEntityType
	UserEntityType
	VirtualServerEntityType
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	Migrate(ctx context.Context) error
	NewDbContext(ctx context.Context) (Context, error)
	Close() error
}

type Factory

type Factory interface {
	NewContext(ctx context.Context) (Context, error)
}

func NewDbFactory

func NewDbFactory(db Database) Factory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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