storage

package
v0.0.0-...-084c151 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoRows = errors.New("no rows in result set")
)

Functions

This section is empty.

Types

type Storer

type Storer interface {
	SaveMeeting(ctx context.Context, meeting model.Meeting) error
	GetMeeting(ctx context.Context, UUID string) (*model.Meeting, error)
	ListMeetings(ctx context.Context) ([]model.Meeting, error)
	GetMeetings(ctx context.Context) ([]model.Meeting, error)
	GetRecords(ctx context.Context, UUID string) ([]model.Record, error)
	GetRecordsByStatus(ctx context.Context, rs model.RecordStatus) ([]model.Record, error)
	DeleteMeeting(ctx context.Context, UUID string) error
	UpdateRecord(ctx context.Context, Id string, status model.RecordStatus, path string) error
	GetQueuedRecord(ctx context.Context) (*model.Record, error)
	ResetFailedRecords(ctx context.Context) error
	Stats(ctx context.Context) (map[model.RecordStatus]any, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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