Documentation
¶
Overview ¶
Package stdriverprofx builds River Pro's clients for package stdriverfx (github.com/advdv/stdgo/fx/stdriverfx/v2), which builds on open-source River only, and inserts River Pro's workflows with them.
It is a module of its own: River Pro is private, and downloading it needs River Pro's license key, which the rest of stdgo must build without.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertWorkflowManyTx ¶
func InsertWorkflowManyTx( ctx context.Context, tx pgx.Tx, client *Client, workflow *riverpro.WorkflowT[pgx.Tx], ) (string, error)
InsertWorkflowManyTx validates workflow and inserts its tasks with client's InsertManyTx in tx, so the workflow commits or rolls back with the work that starts it. It returns the workflow's ID. Insert a workflow once: inserting it again inserts its tasks again.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
testmigrate
Package testmigrate migrates the test databases of package stdriverprofx with River's own migrations, River Pro's included, into the schema the clients use by default.
|
Package testmigrate migrates the test databases of package stdriverprofx with River's own migrations, River Pro's included, into the schema the clients use by default. |
|
Package stdriverprotest waits, in tests, for the workflows that River Pro's clients (package stdriverprofx) work, as package stdrivertest does for jobs.
|
Package stdriverprotest waits, in tests, for the workflows that River Pro's clients (package stdriverprofx) work, as package stdrivertest does for jobs. |
Click to show internal directories.
Click to hide internal directories.