add module and processor for interacting with SQLite DB

This commit is contained in:
Joel Wetzell
2026-03-18 14:21:36 -05:00
parent 1e3b2571fb
commit 3f4271b5ef
5 changed files with 223 additions and 16 deletions

View File

@@ -2,6 +2,7 @@ package common
import (
"context"
"database/sql"
)
type Module interface {
@@ -16,3 +17,7 @@ type KeyValueModule interface {
Get(key string) (any, error)
Set(key string, value any) error
}
type DatabaseModule interface {
Database() *sql.DB
}