schema

package
v0.0.0-...-580f6f5 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	HeadTimestamp(ctx context.Context) (string, error)
	AppendEntries(ctx context.Context, entries []plc.OperationLogEntry) error
	LastOperationForDID(ctx context.Context, did string) (*plc.OperationLogEntry, error)
	AutoMigrate() error
}

func DetectVersion

func DetectVersion(ctx context.Context, db *gorm.DB) (Database, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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