models

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 2 Imported by: 0

README

models

type Backup
type Backup interface {
	Format() string
	Path() string
	Timestamp() time.Time
	json.Marshaler
}
type Metadata
type Metadata interface {
	Type() string
	// Timestamp should return the last time the metadata's parent was opened.
	Timestamp() time.Time
}

Metadata is an interface that defines the minimum requirements for [database.Keeper] metadata implementations.


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

type Backup interface {
	Format() string
	Path() string
	Timestamp() time.Time
	json.Marshaler
}

type Metadata

type Metadata interface {
	Type() string
	// Timestamp should return the last time the metadata's parent was opened.
	Timestamp() time.Time
}

Metadata is an interface that defines the minimum requirements for [database.Keeper] metadata implementations.

Jump to

Keyboard shortcuts

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