Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresBackend ¶
func NewPostgresBackend(opts *PostgresOptions, logger backend.Logger) backend.Backend
NewPostgresBackend creates a new postgres-based Backend object.
Types ¶
type PostgresOptions ¶
type PostgresOptions struct { PgOptions *pgxpool.Config OrchestrationLockTimeout time.Duration ActivityLockTimeout time.Duration }
func NewPostgresOptions ¶
func NewPostgresOptions(host string, port uint16, database string, user string, password string) *PostgresOptions
NewPostgresOptions creates a new options object for the postgres backend provider.
Click to show internal directories.
Click to hide internal directories.