Documentation
¶
Index ¶
Constants ¶
View Source
const (
SQLITE_DB_PATH = "/tmp/sqlite_cedana.db"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface {
// Getters
GetJob(context.Context, []byte) (models.Job, error)
// Setters (create or update)
PutJob(context.Context, []byte, []byte) error
// Listers
ListJobs(context.Context) ([]models.Job, error)
}
func NewLocalDB ¶
Click to show internal directories.
Click to hide internal directories.