Documentation
¶
Overview ¶
Package backends provides interfaces to write backends for SQL Jobber that take and store results from executed SQL jobs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultBackend ¶
type ResultBackend interface {
NewResultSet(dbName, taskName string, ttl time.Duration) (ResultSet, error)
}
ResultBackend represents a result backend to which results from an executed SQL job are written.
func NewSQLBackend ¶
NewSQLBackend returns a new sqlDB result backend instance. It accepts an *sql.DB connection
Click to show internal directories.
Click to hide internal directories.